summaryrefslogtreecommitdiff
path: root/.config/sxhkd
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-06-14 20:00:15 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-06-14 20:00:15 +0400
commitae5dbf8bdbd429186a780d70acd0981c8c3b6b11 (patch)
tree348b5cb3b643fe803ccba97c66d6049e59f1e576 /.config/sxhkd
parent4dc14d0117962e48d239da5f3fa86bd1b5ad4127 (diff)
Changed default WM to dwm
Diffstat (limited to '.config/sxhkd')
-rw-r--r--.config/sxhkd/sxhkdrc.dwm69
1 files changed, 69 insertions, 0 deletions
diff --git a/.config/sxhkd/sxhkdrc.dwm b/.config/sxhkd/sxhkdrc.dwm
new file mode 100644
index 0000000..46e75ad
--- /dev/null
+++ b/.config/sxhkd/sxhkdrc.dwm
@@ -0,0 +1,69 @@
+#
+# wm independent hotkeys
+#
+
+# terminal emulator
+super + Return
+ sh -c "$TERMINAL"
+
+# program launcher
+super + p
+ rofi -theme gruvbox-dark -show drun
+
+# password manager
+super + shift + p
+ passmenu -i -l 5
+
+# make sxhkd reload its configuration files:
+super + Escape
+ pkill -USR1 -x sxhkd
+
+# applications
+super + w
+ $BROWSER
+
+super + b
+ pcmanfm
+
+super + shift + b
+ bluecontrol
+
+super + Tab
+ sh -c "$TERMINAL -e htop"
+
+super + shift + t
+ sh -c "$TERMINAL -e transopen"
+
+super + m
+ sh -c "$TERMINAL -e music localhost"
+
+super + shift + m
+ sh -c "$TERMINAL -e music"
+
+# volume control
+XF86AudioMute
+ pamixer -t; pkill -RTMIN+9 dwmblocks
+
+XF86AudioLowerVolume
+ pamixer --allow-boost -d 5; pkill -RTMIN+9 dwmblocks
+
+XF86AudioRaiseVolume
+ pamixer --allow-boost -i 5; pkill -RTMIN+9 dwmblocks
+
+# touchpad notifications
+XF86TouchpadOff
+ notify-send 'Touchpad turned off'
+
+XF86TouchpadOn
+ notify-send 'Touchpad turned on'
+
+# screenshots
+{_,shift + } Print
+ screenshot area to {clip,file}
+
+ctrl + {_, shift + } Print
+ screenshot window to {clip,file}
+
+super + {_, shift + } Print
+ screenshot screen to {clip,file}
+