Refresh and simplify examples

This commit is contained in:
Bastien Dejean 2013-06-18 20:40:13 +02:00
parent 30f891fad5
commit 05081fe0cd
2 changed files with 26 additions and 11 deletions

View file

@ -1,14 +1,15 @@
#! /bin/sh
FIRST_DESK=One
REMAINING_DESKS='Two Three Four Five Six Seven Eight Nine Ten'
FIRST_DESK=1
REMAINING_DESKS="$(seq 2 9) 0"
bspc rename Desktop01 $FIRST_DESK
bspc add $REMAINING_DESKS
bspc rule Gimp Eight floating
bspc set border_width 4
bspc set split_ratio 0.52
bspc set border_width 2
bspc set window_gap 12
bspc set borderless_monocle true
bspc set gapless_monocle true
bspc set adaptative_raise true
bspc set focus_by_distance true

View file

@ -11,12 +11,22 @@ super + w
super + t
bspc cycle_layout
super + b
bspc balance
super + {s,f}
bspc toggle_{floating,fullscreen}
super + {grave,Tab}
bspc {alternate,alternate_desktop}
super + apostrophe
bspc swap
super + m
wid=$(bspc biggest); \
[ -n "$wid" ] && xdo activate $wid && bspc swap
super + {h,j,k,l}
bspc focus {left,down,up,right}
@ -26,6 +36,9 @@ super + shift + {h,j,k,l}
super + {c,shift + c}
bspc cycle {next,prev}
super + {comma,period}
bspc circulate {backward,forward}
super + bracket{left,right}
bspc cycle_desktop {prev,next}
@ -42,19 +55,19 @@ super + ctrl + {1-9}
bspc ratio 0.{1-9}
super + {1-9,0}
bspc use {One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Ten}
bspc use {1-9,0}
super + shift + {1-9,0}
bspc send_to {One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Ten}
bspc send_to {1-9,0}
super + button{1,2,3}
super + button{1-3}
bspc grab_pointer {move,resize_side,resize_corner}
super + !button{1,2,3}
bspc {track_pointer,track_pointer,track_pointer} %i %i
super + !button{1-3}
bspc track_pointer %i %i
super + @button{1,2,3}
bspc {ungrab_pointer,ungrab_pointer,ungrab_pointer}
super + @button{1-3}
bspc ungrab_pointer
super + alt + button1
bspc grab_pointer focus
@ -69,6 +82,7 @@ super + Return
super + space
dmenu_run
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd