aboutsummaryrefslogtreecommitdiff
path: root/SXHkD/.config/sxhkd
diff options
context:
space:
mode:
Diffstat (limited to 'SXHkD/.config/sxhkd')
-rw-r--r--SXHkD/.config/sxhkd/sxhkdrc59
1 files changed, 30 insertions, 29 deletions
diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc
index 7d733e0..9217178 100644
--- a/SXHkD/.config/sxhkd/sxhkdrc
+++ b/SXHkD/.config/sxhkd/sxhkdrc
@@ -1,12 +1,4 @@
# Launchers
-super + Escape
- notify-send -u low "Reloading xprofile"; \
- sh .xprofile;
-
-super + shift + Escape
- notify-send -u low "Reloaded sxhkd"; \
- killall sxhkd; sxhkd -r "$XDG_CACHE_HOME/sxhkd_out"
-
super + Return
notify-send -u low "Launching terminal"; \
$TERMINAL
@@ -19,7 +11,10 @@ super + e
super + s
notify-send -u low "Launching browser"; \
- xdg-open "https://duckduckgo.com"
+ xdg-open "https://duckduckgo.com";
+
+super + C
+ dunstctl close;
super + semicolon
$HOME/.local/scripts/localstream -f;
@@ -43,23 +38,20 @@ super + z
notify-send -u low "Launching zathura"; \
zathura
+# lock and power
+
super + alt + l
$HOME/.local/scripts/lock;
super + alt + L
xtrlock;
+super + ctrl + alt + l
+ i3lock -c 000000;
+
super + ctrl + m
$HOME/.local/scripts/mail_fetch
-super + ctrl + d
- notify-send -u low "Changing background"; \
- $HOME/.local/scripts/background;
-
-super + ctrl + D
- notify-send -u low "Changing background"; \
- $HOME/.local/scripts/black-bg;
-
super + p
passmenu -f -i
@@ -69,10 +61,16 @@ super + F11
super + F12
systemctl suspend
-super + Home
- onboard
+# Profiles
+super + Escape
+ notify-send -u low "Reloading xprofile"; \
+ sh .xprofile;
-# Music and volume
+super + shift + Escape
+ notify-send -u low "Reloaded sxhkd"; \
+ killall sxhkd; sxhkd -r "$XDG_CACHE_HOME/sxhkd_out"
+
+# Media
super + F{6,7,8}
playerctl {previous,play-pause,next};
@@ -98,16 +96,19 @@ XF86AudioMute
Pause
playerctl --player=spotify play-pause
-# Connections
Print
- 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); \
- nmcli c down "$conn"; \
- notify-send -u low "Turning off wifi"; \
- nmcli c up "$conn"; \
- notify-send -u low "Reset " $conn;
+ $HOME/.local/scripts/screenshot;
+
+super + alt + s
+ $HOME/.local/scripts/screenshot;
+
+super + ctrl + d
+ notify-send -u low "Changing background"; \
+ $HOME/.local/scripts/background;
+
+super + ctrl + D
+ notify-send -u low "Changing background"; \
+ $HOME/.local/scripts/black-bg;
# Brightness
XF86MonBrightness{Down,Up}