mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 10:11:43 -05:00
Refresh and simplify examples
This commit is contained in:
parent
30f891fad5
commit
05081fe0cd
2 changed files with 26 additions and 11 deletions
|
@ -1,14 +1,15 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
FIRST_DESK=One
|
FIRST_DESK=1
|
||||||
REMAINING_DESKS='Two Three Four Five Six Seven Eight Nine Ten'
|
REMAINING_DESKS="$(seq 2 9) 0"
|
||||||
bspc rename Desktop01 $FIRST_DESK
|
bspc rename Desktop01 $FIRST_DESK
|
||||||
bspc add $REMAINING_DESKS
|
bspc add $REMAINING_DESKS
|
||||||
|
|
||||||
bspc rule Gimp Eight floating
|
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 window_gap 12
|
||||||
bspc set borderless_monocle true
|
bspc set borderless_monocle true
|
||||||
bspc set gapless_monocle true
|
bspc set gapless_monocle true
|
||||||
bspc set adaptative_raise true
|
bspc set focus_by_distance true
|
||||||
|
|
|
@ -11,12 +11,22 @@ super + w
|
||||||
super + t
|
super + t
|
||||||
bspc cycle_layout
|
bspc cycle_layout
|
||||||
|
|
||||||
|
super + b
|
||||||
|
bspc balance
|
||||||
|
|
||||||
super + {s,f}
|
super + {s,f}
|
||||||
bspc toggle_{floating,fullscreen}
|
bspc toggle_{floating,fullscreen}
|
||||||
|
|
||||||
super + {grave,Tab}
|
super + {grave,Tab}
|
||||||
bspc {alternate,alternate_desktop}
|
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}
|
super + {h,j,k,l}
|
||||||
bspc focus {left,down,up,right}
|
bspc focus {left,down,up,right}
|
||||||
|
|
||||||
|
@ -26,6 +36,9 @@ super + shift + {h,j,k,l}
|
||||||
super + {c,shift + c}
|
super + {c,shift + c}
|
||||||
bspc cycle {next,prev}
|
bspc cycle {next,prev}
|
||||||
|
|
||||||
|
super + {comma,period}
|
||||||
|
bspc circulate {backward,forward}
|
||||||
|
|
||||||
super + bracket{left,right}
|
super + bracket{left,right}
|
||||||
bspc cycle_desktop {prev,next}
|
bspc cycle_desktop {prev,next}
|
||||||
|
|
||||||
|
@ -42,19 +55,19 @@ super + ctrl + {1-9}
|
||||||
bspc ratio 0.{1-9}
|
bspc ratio 0.{1-9}
|
||||||
|
|
||||||
super + {1-9,0}
|
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}
|
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}
|
bspc grab_pointer {move,resize_side,resize_corner}
|
||||||
|
|
||||||
super + !button{1,2,3}
|
super + !button{1-3}
|
||||||
bspc {track_pointer,track_pointer,track_pointer} %i %i
|
bspc track_pointer %i %i
|
||||||
|
|
||||||
super + @button{1,2,3}
|
super + @button{1-3}
|
||||||
bspc {ungrab_pointer,ungrab_pointer,ungrab_pointer}
|
bspc ungrab_pointer
|
||||||
|
|
||||||
super + alt + button1
|
super + alt + button1
|
||||||
bspc grab_pointer focus
|
bspc grab_pointer focus
|
||||||
|
@ -69,6 +82,7 @@ super + Return
|
||||||
super + space
|
super + space
|
||||||
dmenu_run
|
dmenu_run
|
||||||
|
|
||||||
|
# make sxhkd reload its configuration files:
|
||||||
super + Escape
|
super + Escape
|
||||||
pkill -USR1 -x sxhkd
|
pkill -USR1 -x sxhkd
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue