From 62c1141d0f8ff7031a6bc4dd6237f4081e9baf3e Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Mon, 25 Nov 2024 14:31:38 -0300 Subject: [PATCH] radio: files: .local/bin: Remove screenshot --- .../radio/files/.local/bin/screenshot | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100755 home-environments/radio/files/.local/bin/screenshot diff --git a/home-environments/radio/files/.local/bin/screenshot b/home-environments/radio/files/.local/bin/screenshot deleted file mode 100755 index c12f6b9..0000000 --- a/home-environments/radio/files/.local/bin/screenshot +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -case "$1" in - "activewindow") - # Get active window geometry - eval $(xdotool getactivewindow getwindowgeometry --shell) - REGION="$((${WIDTH} + 10))x$((${HEIGHT}+10))+$((${X}-5))+$((${Y}-5))" - maim -Bg "${REGION}" | xclip -selection clipboard -t image/png;; - "selectwindow") - # Let the user select a window and get its geometry - eval $(xdotool selectwindow getwindowgeometry --shell) - REGION="$((${WIDTH} + 10))x$((${HEIGHT}+10))+$((${X}-5))+$((${Y}-5))" - maim -Bg "${REGION}" | xclip -selection clipboard -t image/png;; - "selectregion") - maim -s | xclip -selection clipboard -t image/png;; - *) - # Get current screen - SCREEN=$(xdotool get_desktop) - REGION="$(hostname):${SCREEN}.1" - maim -u | xclip -selection clipboard -t image/png;; -esac