sxhkd added

This commit is contained in:
madmaurice 2015-05-29 20:55:01 +02:00
parent 200f6d055c
commit 48b7a56899

131
bspwm/sxhkdrc Normal file
View file

@ -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