2023-04-30 17:36:12 +02:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
# power menu
|
|
|
|
super + shift + e
|
|
|
|
dmenu-power-menu
|
|
|
|
|
|
|
|
# Reload sxhkd
|
|
|
|
super + control + r
|
|
|
|
pkill -USR1 -x sxhkd
|
|
|
|
|
|
|
|
##---System Control---##
|
|
|
|
|
|
|
|
# Audio Control
|
|
|
|
{XF86AudioRaiseVolume,XF86AudioLowerVolume,XF86AudioMute}
|
|
|
|
sb-volume-update { up, down, mute }
|
|
|
|
|
|
|
|
# Brightness
|
|
|
|
{XF86MonBrightnessUp,XF86MonBrightnessDown}
|
|
|
|
sb-backlight-update { up, down }
|
|
|
|
|
|
|
|
# Player control keybindings
|
|
|
|
{XF86AudioPlay,XF86AudioPrev,XF86AudioNext}
|
|
|
|
dmenu-playerctl {play-pause,previous,next}
|
|
|
|
|
|
|
|
##---Aplication Launchers---##
|
|
|
|
|
|
|
|
# terminal
|
|
|
|
super + Return
|
|
|
|
$TERMINAL
|
|
|
|
|
|
|
|
# Browser run
|
2023-11-23 15:04:52 +01:00
|
|
|
super + {_, shift + }b
|
|
|
|
{$BROWSER, librewolf}
|
2023-04-30 17:36:12 +02:00
|
|
|
|
|
|
|
# Gui Programs
|
|
|
|
super g; l
|
|
|
|
slock
|
|
|
|
|
|
|
|
# Terminal Programs with class
|
|
|
|
super + t; {n,v,f,y}
|
|
|
|
$TERMINAL --class {newsboat\,newsboat -e newsboat,\
|
|
|
|
videos\,videos -e lfrun ~/vids, lf\,lf -e lf-run, ytfzf\,ytfzf -e ytfzf}
|
|
|
|
|
|
|
|
##---Dmenu bindings---#
|
|
|
|
|
|
|
|
# Key chaining some certain scripts
|
|
|
|
super + p; {g,e,t,u,w,d,k,l,b}
|
|
|
|
{dmenu-games, dmenu-configs, dmenu-transmission, dmenu-usb-man,\
|
|
|
|
dmenu-wifi, dmenu-runner, dmenu-kill,\
|
|
|
|
dmenu-link-handler $(xclip -sel c -o), dmenu-browser}
|
|
|
|
|
|
|
|
# Regular binding some other one's
|
|
|
|
super + {d,F12,c}
|
2024-02-07 22:17:59 +01:00
|
|
|
{dmenu_run, dmenu-ryzenctl, clipmenu -l 10}
|
2023-04-30 17:36:12 +02:00
|
|
|
|
|
|
|
Print
|
|
|
|
dmenu-screenshot
|
|
|
|
|
|
|
|
##---Gaming bindings---##
|
|
|
|
super + shift + F12
|
|
|
|
gaming-time
|
|
|
|
|
|
|
|
##---Buku bindings---##
|
|
|
|
alt + b; {a,o,e,d}
|
|
|
|
{badd, dmenu-buku open, dmenu-buku edit, dmenu-buku delete}
|
|
|
|
|
2023-09-14 14:01:48 +02:00
|
|
|
##---KeePassXC quick pass bindings---##
|
|
|
|
super + g; b
|
|
|
|
dmenu-keepassxc vaultwarden copy
|
|
|
|
|
2023-04-30 17:36:12 +02:00
|
|
|
##---Sripts---##
|
|
|
|
super + F1
|
|
|
|
sound-output-toggle
|
|
|
|
|
|
|
|
super + F2
|
|
|
|
recorder
|
|
|
|
|
2023-11-07 18:42:27 +01:00
|
|
|
super + m
|
|
|
|
mpv $(xclip -sel c -o)
|
|
|
|
|
2023-04-30 17:36:12 +02:00
|
|
|
super + F3
|
|
|
|
bash -c 'killall xdotool || while xdotool key --repeat 100 --delay 100 Enter; do :; done'
|