summaryrefslogtreecommitdiff
path: root/swhkd
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-10-05 22:00:32 -0500
committerzachir <zachir@librem.one>2022-10-05 22:00:32 -0500
commitf39d735e2ba625a31a7dbf6fb8bdd62501379ad1 (patch)
treed17c96714c930e0b8bc75616cc9c81b961ed5aa0 /swhkd
Initial Commit
Diffstat (limited to 'swhkd')
-rwxr-xr-xswhkd/swhkdrc158
1 files changed, 158 insertions, 0 deletions
diff --git a/swhkd/swhkdrc b/swhkd/swhkdrc
new file mode 100755
index 0000000..2042b69
--- /dev/null
+++ b/swhkd/swhkdrc
@@ -0,0 +1,158 @@
+#
+# wm independent hotkeys
+#
+
+# reload sxhkd config
+alt + Escape
+ doas pkill -HUP -x swhkd
+
+#
+# dmenu interfaces
+#
+
+# program launcher
+alt + d
+ tofi_run
+
+# desktop application launcher
+alt + r
+ tofi-drun --drun-launch true
+
+# dmenu prompt for recording
+alt + control + r
+ tofirecord
+
+# run dmenu interface for keepassxc
+alt + p
+ tofikeepass --height 24
+
+# run dmenu interface for pass
+alt + super + p
+ passmenu
+
+# run dmenu interface for mpv
+alt + v
+ tofimpv
+
+# run dmenu interface for ytfzf
+alt + y
+ ytfzf-launcher -D 'tofi --height 24'
+
+# run dmenu interface to spawn browsers
+alt + super + 1
+ browser-tofi
+
+# run dmenu interface for qutebrowser profile chooser
+alt + super + q
+ qbc-tofi
+ #qbpm choose
+
+# run dmenu interface for librewolf profile chooser
+alt + super + w
+ lwc-tofi
+
+# run dmenu interface for librewolf profile chooser
+alt + super + e
+ fdc-tofi
+
+# run dmenu interface to open book
+alt + super + b
+ tofi_books
+
+# run dmenu interface for mpris
+alt + super + u
+ mprisctl-tofi
+
+# run dmenu interface for monattach
+alt + super + m
+ monattach-tofi right
+
+# run dmenu interface for mondetach
+alt + super + n
+ mondetach-tofi
+
+# run dmenu interface for mount
+alt + super + comma
+ tofimount
+
+# run dmenu interface for umount
+alt + super + period
+ tofiumount
+
+#run dmenu prompt for unicode chars
+alt + super + u
+ tofiunicode
+
+#
+# utilities
+#
+
+# toggle x idle state
+alt + c
+ swayidletog
+
+# toggle waybar
+alt + w
+ waytoggle
+
+# warp cursor to left or right monitor
+alt + super + {Left,Right}
+ mwarp.py {left,right}
+
+# lock the screen
+alt + q
+ loginctl lock-session self
+
+# spawn file manager
+alt + super + f
+ $TERMINAL -e lfrun
+
+# toggle touchpad
+alt + super + t
+ toggletouchpad
+
+# notify-send firewall rules
+alt + super + o
+ notify-iptables
+
+# mute volume
+alt + super + m
+ volsv -t
+
+# mute microphone
+alt + super + shift + m
+ volsv -m
+
+#
+# xf86 keys
+#
+
+# manipulate audio stream
+XF86Audio{Prev,Next,Play,Stop}
+ mpc {prev,next,toggle,stop}
+
+# turn the brightness up
+XF86MonBrightnessUp
+ xbacklight -inc 1
+ # light -A 1
+
+# turn the brightness down
+XF86MonBrightnessDown
+ xbacklight -dec 1
+ # light -U 1
+
+# raise the volume
+XF86AudioRaiseVolume
+ volsv -i
+
+# lower the volume
+XF86AudioLowerVolume
+ volsv -d
+
+# toggle mute
+XF86AudioMute
+ volsv -t
+
+# mute mic
+XF86AudioMicMute
+ volsv -m