From 48b7a56899bb266c60ec2226a5515ec87078e535 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Fri, 29 May 2015 20:55:01 +0200 Subject: [PATCH] sxhkd added --- bspwm/sxhkdrc | 131 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 bspwm/sxhkdrc diff --git a/bspwm/sxhkdrc b/bspwm/sxhkdrc new file mode 100644 index 0000000..739648d --- /dev/null +++ b/bspwm/sxhkdrc @@ -0,0 +1,131 @@ +# Config + +# Mute +XF86AudioMute + ~/.config/scripts/volume.sh mute + +# Volume +XF86AudioRaiseVolume + ~/.config/scripts/volume.sh + + +XF86AudioLowerVolume + ~/.config/scripts/volume.sh - + +# Switch Monitor assigned to Tablet +XF86Tools + ~/.config/scripts/maptooutput.sh + +# Lock +super + l + ~/.config/scripts/lock.sh + +XF86ScreenSaver + ~/.config/scripts/lock.sh + +# Quit Bspwm +super + shift + q + bspc quit + +# Tabbing through current windows +super + Tab + bspc window -f next + +# Open Terminal +super + Return + urxvt + +# Open File manager +super + alt + e + urxvt -e "ranger" + +# Open dmenu file manager +super + e + ~/.config/scripts/explorer_run.sh + +# {Focus,Move} windows around +super + {_,shift +} {Left,Right,Up,Down} + bspc window -{f,s} {left,right,up,down} + +#Create preselection +super + ctrl + {Left,Right,Up,Down} + bspc window -p {left,right,up,down} + +#Insert into latest preselection +super + ctrl + i + bspc window -w last.manual + +#Flip Desktop +super + ctrl + {h,v} + bspc desktop focused -F {horizontal,vertical} + +#dmenu2 +super + space + ~/.config/scripts/dmenu_run.sh + +#menu +super + alt + space + ~/.config/scripts/cmenu.sh + +#Cancel preselection +super + ctrl + Escape + bspc desktop -c + +# Resize push +super + alt + {Left,Down,Up,Right} + bspc window -e {left -10, down +10, up -10, right +10} + +# Resize pull +super + ctrl + alt + {Left,Down,Up,Right} + bspc window -e {right -10, up +10, down -10, left +10} + +# Close Window +super + q + bspc window -c + +# Rotate Desktop +super + shift + r + bspc desktop -R 90 + +# Maximize +super + m + bspc window -t fullscreen + +# Direct access and move windows to desktop +super + {_,shift +}{1-9} + bspc {desktop -f,window -d} $(bspc query -M -m):^{1-9} + +# Cycle layouts +super + r + bspc desktop -l next + +# toggle floating +super + f + bspc window -t floating + + +# move windows +super + button{1,3} + bspc pointer -g {move,resize_corner} + +super + !button{1,3} + bspc pointer -t %i %i + +super + @button{1,3} + bspc pointer -u + +# toggle visibility +super + d + bspc control --toggle-visibility + +# monitor switch +XF86Display + ~/.config/scripts/monitor_switch.sh + +XF86AudioPlay + mpc toggle + +XF86AudioNext + mpc next + +XF86AudioPrev + mpc prev