diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-14 15:38:47 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-14 15:39:56 +0100 |
commit | a06187046ee3a49fe5f160bf4f843f2c7d29625c (patch) | |
tree | 1ff471e0311d6424aa4d903d6ba43a26a381a402 /SXHkD/.config | |
parent | e23721a989d368468dc614c479daa374e98f85a7 (diff) | |
download | dotfiles-a06187046ee3a49fe5f160bf4f843f2c7d29625c.tar.gz dotfiles-a06187046ee3a49fe5f160bf4f843f2c7d29625c.tar.bz2 dotfiles-a06187046ee3a49fe5f160bf4f843f2c7d29625c.zip |
(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.
Diffstat (limited to 'SXHkD/.config')
-rw-r--r-- | SXHkD/.config/sxhkd/sxhkdrc | 8 |
1 files changed, 2 insertions, 6 deletions
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); \ |