From 10d48f2a738914a81dd0556e07653c871448873c Mon Sep 17 00:00:00 2001 From: tiyn Date: Fri, 17 May 2024 02:50:39 +0200 Subject: [PATCH] sxhkd: hide cursor when selecting area to screenshot --- .local/bin/etc/sxhkd/screenshot_menu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/etc/sxhkd/screenshot_menu b/.local/bin/etc/sxhkd/screenshot_menu index b1df724..e818678 100755 --- a/.local/bin/etc/sxhkd/screenshot_menu +++ b/.local/bin/etc/sxhkd/screenshot_menu @@ -8,8 +8,8 @@ xclip_img="xclip -sel clip -t image/png" xclip_txt="xclip -sel clip -t text/plain" case "$(printf "a selected area\\na selected area (copy)\\ncurrent window\\ncurrent window (copy)\\nfull screen\\nfull screen (copy)\\ncolor picker (copy)" | dmenu -l 6 -i -p "Screenshot which area?")" in - "a selected area") maim -s $output ;; - "a selected area (copy)") maim -s | ${xclip_img} ;; + "a selected area") maim -s --hidecursor $output ;; + "a selected area (copy)") maim -s --hidecursor | ${xclip_img} ;; "current window") maim -i "$(xdotool getactivewindow)" $output ;; "current window (copy)") maim -i "$(xdotool getactivewindow)" | ${xclip_img} ;; "full screen") maim $output ;;