summaryrefslogtreecommitdiff
path: root/sxhkd/sxhkdrc
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-10-19 09:05:43 -0500
committerzachir <zachir@librem.one>2023-10-19 09:05:43 -0500
commit6632324d706b65e0a8498188118427c1d81e6aa0 (patch)
tree918ce866c4da30015809be808dc7468a7485a7ec /sxhkd/sxhkdrc
parent73bc14c90d7228e7f27aad31300207d8284d9762 (diff)
Add X11 back for now, will probably switch again later
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