mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
e2a85ac43f
If set to true, desktops configured in `monitors` will be reset every time the config is run. If set to false, desktops will only be configured the first time the config is run. This is useful if you want to dynamically add desktops and you don't want them to be destroyed if you re-run `bspwmrc`.
21 lines
609 B
Text
Executable file
21 lines
609 B
Text
Executable file
if [[ $(bspc query --desktops --names --monitor 'focused') == Desktop ]]; then
|
|
bspc monitor 'focused' -d 'desktop 1' 'd'\''esk top'
|
|
fi
|
|
|
|
bspc config 'border_width' '2'
|
|
bspc config 'external_rules_command' '/path/to/external rules command'
|
|
bspc config 'gapless_monocle' 'on'
|
|
bspc config 'ignore_ewmh_fullscreen' 'enter,exit'
|
|
bspc config 'split_ratio' '0.520000'
|
|
|
|
bspc rule -r '*'
|
|
bspc rule -a '*' 'center=off' 'desktop=d'\''esk top#next' 'split_dir=north' 'sticky=on'
|
|
|
|
# java gui fixes
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
bspc rule -a sun-awt-X11-XDialogPeer state=floating
|
|
|
|
extra config
|
|
|
|
foo &
|
|
bar || qux &
|