added comments and key binds to launch applications

This commit is contained in:
Deon Spengler
2015-12-09 22:53:16 +02:00
parent 7a9a3fb674
commit 31f69c6221

View File

@@ -1,75 +1,85 @@
# ###############
# bspwm hotkeys # bspwm hotkeys
# ###############
# restart bspwm
super + alt + Escape super + alt + Escape
bspc quit bspc quit
# close window
alt + w alt + w
bspc window -c bspc window -c
super + t # balance all windows on selected desktop
bspc desktop -l next
super + b super + b
bspc desktop -B bspc desktop -B
super + {s,f,} # switch window state to floating or fullscreen
super + {s,f}
bspc window -t {floating,fullscreen} bspc window -t {floating,fullscreen}
super + g # switch window state to tiling or monocle
bspc window -s last.manual super + t
bspc desktop -l next
super + {grave,Tab} # sticky windows
bspc {window,desktop} -f last super + e
bspc window -t sticky
super + apostrophe # hide all windows on all desktops
bspc window -s last super + z
bspc control --toggle-visibility
# move back and forward through focus history
super + {o,i} super + {o,i}
bspc control --record-history off; \ bspc control --record-history off; \
bspc window {older,newer} -f; \ bspc window {older,newer} -f; \
bspc control --record-history on bspc control --record-history on
# send active window to preselect
alt + y alt + y
bspc window -w last.manual bspc window -w last.manual
super + m # move active window
bspc window -s biggest
alt + {_,shift + }{h,j,k,l} alt + {_,shift + }{h,j,k,l}
bspc window -{f,s} {left,down,up,right} bspc window -{f,s} {left,down,up,right}
super + {_,shift + }c # rotate window position
bspc window -f {next,prev}
super + {comma,period} super + {comma,period}
bspc desktop -C {backward,forward} bspc desktop -C {backward,forward}
# Mirror and flip leaves of tree
alt + {comma,period}
bspc desktop -F {horizontal,vertical}
# Rotate leaves of tree
alt + shift + {comma,period}
bspc desktop -R {90,270}
# switch workspace on desktop
super + bracket{left,right} super + bracket{left,right}
bspc desktop -f {prev,next} bspc desktop -f {prev,next}
# preselection
alt + ctrl + {h,j,k,l} alt + ctrl + {h,j,k,l}
bspc window -p {left,down,up,right} bspc window -p {left,down,up,right}
super + ctrl + {_,shift + }space # resize window
bspc {window -p cancel,desktop -c}
super + alt + {h,j,k,l} super + alt + {h,j,k,l}
bspc window -e {left -10,down +10,up -10,right +10} bspc window -e {left -10,down +10,up -10,right +10}
super + alt + shift + {h,j,k,l} super + alt + shift + {h,j,k,l}
bspc window -e {right -10,up +10,down -10,left +10} bspc window -e {right -10,up +10,down -10,left +10}
super + ctrl + {1-9} # send active window to desktop
bspc window -r 0.{1-9}
super + {_,shift + }{1-9,0} super + {_,shift + }{1-9,0}
bspc {desktop -f,window -d} ^{1-9,10} bspc {desktop -f,window -d} ^{1-9,10}
# focus window on left click
~button1 ~button1
bspc pointer -g focus bspc pointer -g focus
# resize window
super + button{1-3} super + button{1-3}
bspc pointer -g {move,resize_side,resize_corner} bspc pointer -g {move,resize_side,resize_corner}
@@ -79,25 +89,50 @@ super + !button{1-3}
super + @button{1-3} super + @button{1-3}
bspc pointer -u bspc pointer -u
# ########################
# wm independent hotkeys # wm independent hotkeys
# ########################
# urxvt terminal
alt + Return alt + Return
urxvtc urxvtc
# application launcher
super + space super + space
dmenu_run -nb '#000000' dmenu_run -fn "-misc-tamlin-medium-r-normal--16-116-100-100-c-80-iso10646-1" -nb "#000000" -sb "#517ba2"
# mpd next track
alt + shift + n alt + shift + n
mpc next mpc next
# mpd previous track
alt + shift + p alt + shift + p
mpc prev mpc prev
# play / pause mpd
alt + shift + s alt + shift + s
mpc toggle mpc toggle
# file manager
alt + shift + f
urxvtc -e ranger
# web browser
alt + shift + b
chromium
# steam
alt + shift + x
steam
# lock screen
super + l
lock
# switch user
super + shift + l
dm-tool switch-to-greeter
# make sxhkd reload its configuration files: # make sxhkd reload its configuration files:
super + Escape super + Escape
pkill -USR1 -x sxhkd pkill -USR1 -x sxhkd