X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/78856df8ce2a282c6fe3abcec5fa4b3459004a83..ed7789793f10b5b7e81a41613cb06c5c8e011784:/sxhkd/.config/sxhkd/sxhkdrc diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 263debc..9a5a1fb 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -84,7 +84,10 @@ super + Return urxvt super + space - dmenu_run -fn "Source Code Pro for Powerline:bold:pixelsize=10" -h 31 -nb \#2f2b30 -nf \#fefdfb -sb \#cf0f38 -sf \#fefdfb + dmenu_run -fn "-*-termsyn-medium-r-normal-*-13-*-*-*-c-*-*-1" -h 20 -nb \#2f2b30 -nf \#fefdfb -sb \#cf0f38 -sf \#fefdfb + +super + x + slimlock # make sxhkd reload its configuration files: super + Escape @@ -102,27 +105,36 @@ XF86KbdBrightnessDown XF86KbdBrightnessUp kbdlight up -XF86AudioRaiseVolume - pulseaudio-ctl up - -XF86AudioLowerVolume - pulseaudio-ctl down - -XF86AudioMute - pulseaudio-ctl mute - #XF86AudioRaiseVolume -# pamixer --increase 5;\ -# pamixer --get-volume > /tmp/volinfo +# pulseaudio-ctl up #XF86AudioLowerVolume -# pamixer --decrease 5;\ -# pamixer --get-volume > /tmp/volinfo +# pulseaudio-ctl down #XF86AudioMute -# pamixer --toggle-mute;\ -# if $(pamixer --get-mute) ; then;\ -# echo ⮝ > /tmp/spkicon;\ -# else;\ -# echo ⮟ > /tmp/spkicon;\ -# fi +# pulseaudio-ctl mute + +XF86AudioPlay + mpc toggle + +XF86AudioPrev + mpc prev + +XF86AudioNext + mpc next + +XF86AudioRaiseVolume + pamixer --allow-boost --increase 5;\ + pamixer --get-volume > /tmp/volinfo + +XF86AudioLowerVolume + pamixer --allow-boost --decrease 5;\ + pamixer --get-volume > /tmp/volinfo + +XF86AudioMute + pamixer --toggle-mute;\ + if $(pamixer --get-mute) ; then;\ + echo ⮝ > /tmp/spkicon;\ + else;\ + echo ⮟ > /tmp/spkicon;\ + fi