arch-dots/.config/sxhkd/general

81 lines
1.5 KiB
Plaintext
Raw Normal View History

2024-06-20 17:26:20 +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
super + {_, shift + , control}b
{$BROWSER, librewolf, ungoogled-chromium}
# Gui Programs
super g; l
slock
# Terminal Programs with class
super + t; n
$TERMINAL --class newsboat -e newsboat
##---Dmenu bindings---#
# Key chaining some certain scripts
super + p; {w,d,k,l}
{dmenu-wifi, dmenu-runner, dmenu-kill,\
dmenu-link-handler $(xclip -sel c -o)}
# Regular binding some other one's
super + d
dmenu_run
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}
##---KeePassXC quick pass bindings---##
super + g; b
dmenu-keepassxc vaultwarden copy
##---Sripts---##
super + F1
sound-output-toggle
super + F2
recorder
super + m
mpv $(xclip -sel c -o)
super + F3
bash -c 'killall xdotool || while xdotool key --repeat 100 --delay 100 Enter; do :; done'