133 lines
2.4 KiB
Text
133 lines
2.4 KiB
Text
# 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 node -f next.local
|
|
|
|
# Open Terminal
|
|
super + alt + Return
|
|
urxvt
|
|
|
|
super + Return
|
|
urxvt -e /home/madmaurice/.config/scripts/tmuxn.sh
|
|
|
|
# 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 node -{f,s} {left,right,up,down}
|
|
|
|
#Create preselection
|
|
super + ctrl + {Left,Right,Up,Down}
|
|
bspc node -p {left,right,up,down}
|
|
|
|
#Insert into latest preselection
|
|
super + ctrl + i
|
|
bspc node -w last.!automatic
|
|
|
|
#Flip Desktop
|
|
super + ctrl + {h,v}
|
|
bspc desktop focused -F {horizontal,vertical}
|
|
|
|
#dmenu2
|
|
super + space
|
|
~/.config/scripts/debmenu.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 node -e {left -10, down +10, up -10, right +10}
|
|
|
|
# Resize pull
|
|
super + ctrl + alt + {Left,Down,Up,Right}
|
|
bspc node -e {right -10, up +10, down -10, left +10}
|
|
|
|
# Close Window
|
|
super + q
|
|
bspc node -c
|
|
|
|
# Rotate Desktop
|
|
super + shift + r
|
|
bspc desktop -R 90
|
|
|
|
# Maximize and float
|
|
super + {m,f}
|
|
state={fullscreen,floating}; \
|
|
bspc query -N -n "focused.$\{state\}" && state=tiled; \
|
|
bspc node -t "$state"
|
|
|
|
# Direct access and move windows to desktop
|
|
super + {_,shift +}{1-9}
|
|
bspc {desktop -f,node -d} $(bspc query -M -m):^{1-9}
|
|
|
|
# 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
|
|
~/.config/scripts/toggle-hidden.sh
|
|
|
|
# monitor switch
|
|
XF86Display
|
|
~/.config/scripts/monsetup_menu.sh
|
|
|
|
XF86AudioPlay
|
|
mpc toggle
|
|
|
|
XF86AudioNext
|
|
mpc next
|
|
|
|
XF86AudioPrev
|
|
mpc prev
|
|
|
|
ctrl + alt + Delete
|
|
notify-send "Don't panic" "Everything will be alright"
|
|
|
|
super + Escape
|
|
~/.config/scripts/short_clock.sh
|