Bspwm config
This commit is contained in:
parent
90f7e8e69f
commit
200f6d055c
2 changed files with 62 additions and 0 deletions
6
bspwm/autostart
Executable file
6
bspwm/autostart
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
thunderbird &
|
||||
psi-plus &
|
||||
urxvt -name "Weechat" -e "weechat" &
|
||||
|
56
bspwm/bspwmrc
Executable file
56
bspwm/bspwmrc
Executable file
|
@ -0,0 +1,56 @@
|
|||
#!/bin/sh
|
||||
|
||||
INTERN="LVDS1"
|
||||
EXTERN="VGA1"
|
||||
|
||||
bspc monitor $INTERN -d 1 2 3 4 5 6 7 8 9 0
|
||||
|
||||
EXTERN_CONNECTED=$(bspc query -M | grep $EXTERN)
|
||||
|
||||
if [ -n "$EXTERN_CONNECTED" ]; then
|
||||
bspc monitor $EXTERN -d 1 2 3 4 5 6 7 8 9 0
|
||||
else
|
||||
bspc monitor $EXTERN -d
|
||||
fi
|
||||
bspc control --adopt-orphans
|
||||
|
||||
bspc config border_width 1
|
||||
bspc config -m $INTERN top_padding 14
|
||||
bspc config window_gap 8
|
||||
bspc config split_ratio 0.5
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle false
|
||||
bspc config focus_follows_pointer true
|
||||
#bspc config auto_alternate true
|
||||
bspc config auto_cancel true
|
||||
bspc config ignore_ewmh_focus true
|
||||
bspc config remove_disabled_monitor true
|
||||
|
||||
bspc rule -a viewnior floating=true
|
||||
bspc rule -a feh floating=true
|
||||
bspc rule -a mpv floating=true
|
||||
bspc rule -a urxvt floating=true
|
||||
bspc rule -a Thunar floating=true
|
||||
bspc rule -a QEMU floating=true
|
||||
bspc rule -a Gimp focus=on
|
||||
|
||||
#VBAM
|
||||
bspc rule -a InputOutput floating=true
|
||||
|
||||
#Nitrogen
|
||||
bspc rule -a Nitrogen floating=true
|
||||
|
||||
# Onboard keyboard
|
||||
bspc rule -a onboard manage=off
|
||||
|
||||
# Flash
|
||||
bspc rule -a plugin-container floating=true
|
||||
bspc rule -a plugin-container fullscreen=true
|
||||
|
||||
bspc desktop LVDS1:^9 -l monocle
|
||||
bspc rule -a "Psi-plus" desktop=LVDS1:^9
|
||||
bspc rule -a "Thunderbird" desktop=LVDS1:^9
|
||||
bspc rule -a "Weechat" desktop=LVDS1:^9
|
||||
|
||||
wmname LG3D
|
||||
|
Loading…
Reference in a new issue