X-Git-Url: https://git.danieliu.xyz/?p=dotfiles.git;a=blobdiff_plain;f=.config%2Fsxhkd%2Fsxhkdrc;h=459624904c134eb17e6e7b4ba01bf91c0b62517a;hp=bc0f17c40dd67392d4617efb63f1d457dde25dd5;hb=7f59e8b721746dbf0741f0083a1a5e74ce973278;hpb=14d61ce32ff2cdca6af3accb75840abcaaf558ef diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index bc0f17c..4596249 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -1,6 +1,14 @@ -XF86Audio{Mute,LowerVolume,RaiseVolume} - amixer sset Master {0,5-,5+} &\ - refresh_blocks 10 +XF86Audio{LowerVolume,RaiseVolume} + pulsemixer --change-volume {-5,+5} &\ + refresh_blocks 10 + +XF86Audio{Mute} + pulsemixer --toggle-mute &\ + refresh_blocks 10 + +super + r + kill -SIGUSR1 $(pidof sxhkd) &\ + notify-send "Reloaded sxhkd" -i "" super + b brave @@ -20,16 +28,34 @@ super + n super + m st ncmpcpp +super + s + st pulsemixer + +super + l + st slock -m "$(figlet locked xd | cowsay -f cheese -n)" + super + {Down,Left,Right} mpc {toggle,prev,next} +super + e + emoter + +super + shift + e + emoter -g + +super + d + monitor-attach &\ + notify-send "Attached Monitor" -i "" + +super + shift + d + monitor-detach &\ + notify-send "Detached Monitor" -i "" + alt + s - scrot ~/Downloads/screenshots/ &&\ - notify-send "Fullscreen screenshot taken" -i "" + screenshot -f alt + shift + s - scrot -u ~/Downloads/screenshots/ &&\ - notify-send "Windowed screenshot taken" -i "" - + screenshot -b + {Home,End} mod_brightness {0.1,-0.1}