1
0
Fork 0

fix: add sensible monocle layout

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2022-10-14 23:53:28 -04:00
parent c7f06063f4
commit 7f2c008e7c
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
2 changed files with 16 additions and 2 deletions

View file

@ -20,6 +20,12 @@ bspc config focus_follows_pointer true
bspc config merge_overlapping_monitors true bspc config merge_overlapping_monitors true
bspc config top_monocle_padding 25
bspc config right_monocle_padding 25
bspc config left_monocle_padding 25
bspc config bottom_monocle_padding 25
bspc config borderless_monocle false
bspc rule -a Emacs state=tiled bspc rule -a Emacs state=tiled
bspc rule -a Zathura state=tiled bspc rule -a Zathura state=tiled

View file

@ -157,7 +157,7 @@ super + ctrl + {1-9}
bspc node -o 0.{1-9} bspc node -o 0.{1-9}
# cancel the preselection for the focused node # cancel the preselection for the focused node
super + ctrl + space super + ctrl + Escape
bspc node -p cancel bspc node -p cancel
# cancel the preselection for the focused desktop # cancel the preselection for the focused desktop
@ -180,6 +180,10 @@ super + alt + shift + {h,j,k,l}
super + {Left,Down,Up,Right} super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0} bspc node -v {-20 0,0 20,0 -20,20 0}
# center a floating window
super + n
~/.config/sxhkd/scripts/center.sh
# #
# misc keybinds # misc keybinds
# #
@ -210,7 +214,7 @@ super + {a,o}
# switch monitor mode # switch monitor mode
super + shift + x super + shift + x
~/.screenlayout/monitor.sh && bspc monitor -g 1920x1080+0+0 && bspc config -m eDP1 bottom_padding 0 && bspc wm -r ~/.screenlayout/monitor.sh && bspc monitor -g 1920x1080+0+0 && bspc config -m DP-3 bottom_padding 0 && bspc wm -r
super + shift + b super + shift + b
~/.screenlayout/single-screen.sh && bspc monitor -g 1920x1200+0+0 && bspc config -m eDP1 bottom_padding 0 bspc wm -r ~/.screenlayout/single-screen.sh && bspc monitor -g 1920x1200+0+0 && bspc config -m eDP1 bottom_padding 0 bspc wm -r
@ -221,3 +225,7 @@ super + {_,shift +} i
# lambda everywhere # lambda everywhere
control + backslash control + backslash
xdotool keyup Control_L && xdotool keyup backslash && xdotool type "λ" xdotool keyup Control_L && xdotool keyup backslash && xdotool type "λ"
# see recent notifications
super + z
dunstctl history-pop