From 6632324d706b65e0a8498188118427c1d81e6aa0 Mon Sep 17 00:00:00 2001 From: zachir Date: Thu, 19 Oct 2023 09:05:43 -0500 Subject: Add X11 back for now, will probably switch again later --- sxhkd/sxhkdrc | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100755 sxhkd/sxhkdrc (limited to 'sxhkd') 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 -- cgit v1.2.3