diff options
Diffstat (limited to 'sxhkd')
-rw-r--r-- | sxhkd/sxhkdrc | 112 |
1 files changed, 44 insertions, 68 deletions
diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index 8268e91..2217e90 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -1,28 +1,58 @@ # -# bspwm hotkeys +# wm independent hotkeys # +# terminal emulator +super + Return + gnome-terminal + +# program launcher +super + ctrl + r + rofi -fg "#92A850" -font "Monospace 14" -show run + +# make sxhkd reload its configuration files: +super + Escape + pkill -USR1 -x sxhkd + +# show panel super + p bspc config top_padding $PANEL_HEIGHT; \ - xdotool search --classname Conky windowmap; \ - xdotool search --name bar windowmap; \ - xdotool search --classname stalonetray windowmap; \ - xdotool search --classname stalonetray windowraise; \ - xdotool search --name "Top Expanded Edge Panel" windowmap; + xdotool search --name "Top Expanded Edge Panel" windowmap; \ + xdotool search --name "Top Expanded Edge Panel" windowraise; +# hide panel super + shift + p - xdotool search --classname stalonetray windowunmap; \ - xdotool search --classname Conky windowunmap; \ - xdotool search --name bar windowunmap; \ xdotool search --name "Top Expanded Edge Panel" windowunmap; \ bspc config top_padding 0 -super + s - xdotool search --classname stalonetray windowmap; \ - xdotool search --classname stalonetray windowraise +# +# multimedia keys +# + +# XF86MonBrightnessDown +# xbacklight -dec 2 + +# XF86MonBrightnessUp +# xbacklight -inc 2 + +# XF86KbdBrightnessDown +# /home/drobilla/bin/kbdled.sh down + +# XF86KbdBrightnessUp +# /home/drobilla/bin/kbdled.sh up + +# XF86AudioRaiseVolume +# amixer sset Master 5%+ + +# XF86AudioLowerVolume +# amixer sset Master 5%- + +# XF86AudioMute +# amixer set Master toggle -super + shift + s - xdotool search --classname stalonetray windowunmap +# +# bspwm hotkeys +# super + alt + Escape bspc quit @@ -33,21 +63,6 @@ super + w super + ctrl + c bspc window -c -super + t - bspc desktop -l next; \ - if bspc query --tree | grep -q ' M - \*'; then \ - xdotool search --classname stalonetray windowunmap; \ - xdotool search --classname Conky windowunmap; \ - xdotool search --name bar windowunmap; \ - bspc config top_padding 0; \ - else \ - bspc config top_padding $PANEL_HEIGHT; \ - xdotool search --classname Conky windowmap; \ - xdotool search --name bar windowmap; \ - xdotool search --classname stalonetray windowmap; \ - xdotool search --classname stalonetray windowraise; \ - fi - super + b bspc desktop -B @@ -118,42 +133,3 @@ super + button{1-3} super + @button{1-3} bspc pointer -u - -# -# wm independent hotkeys -# - -super + Return - gnome-terminal - -super + ctrl + r - rofi -fg "#92A850" -font "Monospace 14" -show run - -# make sxhkd reload its configuration files: -super + Escape - pkill -USR1 -x sxhkd - -# -# multimedia keys -# - -# XF86MonBrightnessDown -# xbacklight -dec 2 - -# XF86MonBrightnessUp -# xbacklight -inc 2 - -# XF86KbdBrightnessDown -# /home/drobilla/bin/kbdled.sh down - -# XF86KbdBrightnessUp -# /home/drobilla/bin/kbdled.sh up - -# XF86AudioRaiseVolume -# amixer sset Master 5%+ - -# XF86AudioLowerVolume -# amixer sset Master 5%- - -# XF86AudioMute -# amixer set Master toggle |