summaryrefslogtreecommitdiff
path: root/sxhkd/sxhkdrc
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-10-19 11:11:29 -0500
committerzachir <zachir@librem.one>2023-10-19 11:11:29 -0500
commit9c6542ba30f9579316eb2dddd2eca7dd6b8d2389 (patch)
tree9161f1825b2ec584941253a90f24d43a05150ee5 /sxhkd/sxhkdrc
parent6e392f8f0e99274bb6f910d8fc34e335648d1c26 (diff)
parentc81018b4514b26a6f5716deb2100a7a0b88c9aa2 (diff)
Merge branch 'master' of zachir.xyz:zachir/dotfiles into cas-master
Diffstat (limited to 'sxhkd/sxhkdrc')
-rwxr-xr-xsxhkd/sxhkdrc140
1 files changed, 140 insertions, 0 deletions
diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc
new file mode 100755
index 0000000..1c10dfe
--- /dev/null
+++ b/sxhkd/sxhkdrc
@@ -0,0 +1,140 @@
+#
+# wm independent hotkeys
+#
+
+# reload sxhkd config
+super + Escape
+ pkill -USR1 -x sxhkd
+
+#
+# dmenu interfaces
+#
+
+# program launcher
+super + d
+ dmenu_run -i -l 15 -h 36 -fn 'mononoki Nerd Font Mono' -nb '#000' -nf '#c5c8c6' -sb '#198844' -sf '#000'
+
+# desktop application launcher
+super + r
+ j4-dmenu-desktop --dmenu="dmenu -i -l 15 -h 36 -fn 'mononoki Nerd Font Mono' -nb '#000' -nf '#c5c8c6' -sb '#198844' -sf '#000'"
+
+# dmenu prompt for recording
+super + control + r
+ dmenurecord
+
+# run dmenu interface for pass
+super + alt + p
+ passmenu
+
+# run dmenu interface for ytfzf
+super + y
+ ytfzf-launcher -D 'dmenu -l 15'
+
+# run dmenu interface to spawn browsers
+super + alt + 1
+ bm
+
+# run dmenu interface for qutebrowser profile chooser
+super + alt + q
+ qbc
+ #qbpm choose
+
+# run dmenu interface for librewolf profile chooser
+super + alt + w
+ lwc
+
+# run dmenu interface for mpris
+super + alt + u
+ mprisctl
+
+# run dmenu interface for mount
+super + alt + comma
+ dmount
+
+# run dmenu interface for umount
+super + alt + period
+ dmenuumount
+
+#run dmenu prompt for unicode chars
+super + alt + u
+ dmenuunicode
+
+#
+# utilities
+#
+
+# get xprop
+super + grave
+ notifyprop
+
+# warp cursor to left or right monitor
+super + {Left,Right}
+ mwarp.py {left,right}
+
+# lock the screen
+super + q
+ loginctl lock-session self
+
+# spawn file manager
+super + alt + f
+ kitty lfrun
+
+# toggle touchpad
+super + alt + t
+ toggletouchpad
+
+# notify-send firewall rules
+super + alt + f
+ notify-iptables
+
+# mute volume
+super + alt + m
+ volsv -t
+
+# mute microphone
+super + alt + shift + m
+ volsv -m
+
+# load nsxiv for backgrounds
+super + alt + x
+ nsxiv ~/.local/src/wallpapers
+
+# xkill
+super + x
+ xkill
+
+# pause mpd
+alt + p
+ playerctl play-pause
+
+#
+# xf86 keys
+#
+
+# manipulate audio stream
+XF86Audio{Prev,Next,Play,Stop}
+ playerctl {previous,next,play-pause,stop}
+
+# turn the brightness up
+XF86MonBrightnessUp
+ bl -i 1
+
+# turn the brightness down
+XF86MonBrightnessDown
+ bl -d 1
+
+# raise the volume
+XF86AudioRaiseVolume
+ volsv -i
+
+# lower the volume
+XF86AudioLowerVolume
+ volsv -d
+
+# toggle mute
+XF86AudioMute
+ volsv -t
+
+# mute mic
+XF86AudioMicMute
+ volsv -m