summaryrefslogtreecommitdiff
path: root/.config
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
parent4dc14d0117962e48d239da5f3fa86bd1b5ad4127 (diff)
Changed default WM to dwm
Diffstat (limited to '.config')
-rw-r--r--.config/alacritty/alacritty.yml2
-rw-r--r--.config/sxhkd/sxhkdrc.dwm69
2 files changed, 70 insertions, 1 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
index 15f1f84..18fe8f0 100644
--- a/.config/alacritty/alacritty.yml
+++ b/.config/alacritty/alacritty.yml
@@ -1,5 +1,5 @@
font:
- size: 13
+ size: 10
window:
padding:
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}
+