sxhkdrc (1616B)
1 # Copyright (c) 2022 hhvn <dev@hhvn.uk> 2 # ISC license 3 # 4 # See also: git://hhvn.uk/sxhkd-rc 5 6 super + Return 7 st 8 9 super + t 10 pkill -SIGUSR1 herbe 11 12 super + shift + t 13 pkill -SIGUSR2 herbe 14 15 super + ctrl + t 16 pkill -SIGKILL herbe; herbe; herbe Fixed! 17 18 super + alt + t 19 herbe 'test' 20 21 super + b 22 qutebrowser 23 24 super + n 25 st -t neomutt -c neomutt -e sh -c 'neomutt; $SHELL' 26 27 super + c 28 slock_mod 29 30 super + shift + c 31 slock_mod & doas zzz 32 33 super + d 34 dmenu_run 35 36 super + u 37 plumb `''{xclip -o} 38 39 super + s 40 st -c dpass -g 100x45 -b -e dpass 41 42 super + shift + s 43 maim -s | hlpaste 'png' 44 45 super + ctrl + s 46 maim | hlpaste 'png' 47 48 @super + w 49 wallp $home/wallpapers/ 50 51 super + p 52 if (pgrep -x scrcpy >/dev/null) { xid = `{xdotool search --class scrcpy}; xid = $xid(1); bspc node $xid -g hidden; if (~ `{bspc query -n $xid -T | jq .hidden} false) { bspc node $xid -f } } else { scrcpy --no-audio } 53 54 # cmus control 55 super + ctrl + [i,p] 56 cmus-remote --server 127.0.0.1 --passwd helloworld --seek [-5,+5] 57 58 super + alt + [i,p] 59 cmus-remote --server 127.0.0.1 --passwd helloworld [--prev,--next] 60 61 super + [ctrl,alt] + o 62 cmus-remote --server 127.0.0.1 --passwd helloworld [--pause,--stop] 63 64 super + shift + m 65 st -c cmus -g 150x30 -b -e rc -c 'tmux new-session -As cmus cmus --listen 0.0.0.0' 66 67 super + [minus,equal] 68 hvol 3%[-,+] 69 70 super + shift [minus,equal] 71 hvol 6%[-,+] 72 73 [XF86AudioLowerVolume, XF86AudioRaiseVolume] 74 hvol 3%[-,+] 75 76 shift + [XF86AudioLowerVolume, XF86AudioRaiseVolume] 77 hvol 6%[-,+] 78 79 #thinkpad codes 80 81 # XF86Sleep 82 # XF86Batter 83 XF86ScreenSaver 84 slock_mod 85 86 XF86Display 87 xset dpms force off 88 89 # XF86TouchpadToggle 90 # XF86Suspend