From a06187046ee3a49fe5f160bf4f843f2c7d29625c Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 14 Oct 2023 15:38:47 +0100 Subject: (SXHkD)~Print now does a selected screenshot ScrollLock already does the task of reconnecting the network: no reason to duplicate function. This is something I usually have to pop out a terminal for, so I may as well make a binding for it. --- SXHkD/.config/sxhkd/sxhkdrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'SXHkD/.config') diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc index 71e6a29..2cf1ab9 100644 --- a/SXHkD/.config/sxhkd/sxhkdrc +++ b/SXHkD/.config/sxhkd/sxhkdrc @@ -22,7 +22,7 @@ super + s xdg-open "https://duckduckgo.com" super + shift + s - scrot -u '%Y%m%d_%H%M%S.png' -e 'mv $f ~/Pictures/' -c; \ + scrot -u '%Y%m%d_%H%M%S.png' -e 'mv $f ~/Pictures/' -c; \ notify-send -u low "Took a screenshot"; super + z @@ -82,11 +82,7 @@ Pause # Connections and brightness Print - conn=$(nmcli | grep "connected to" | sed 's/.*connected to //g' | head -1); \ - nmcli c down "$conn"; \ - notify-send -u low "Turning off wifi"; \ - nmcli c up "$conn"; \ - notify-send -u low "Reset " $conn; + scrot -f -s '%Y%m%d_%H%M%S.png' -e 'mv $f ~/Pictures/'; Scroll_Lock conn=$(nmcli | grep "connected to" | sed 's/.*connected to //g' | head -1); \ -- cgit v1.2.3-13-gbd6f