TODO: make display script properly

This commit is contained in:
Cheri 2021-02-06 12:46:32 +02:00 committed by vibikim
parent abfe3598b0
commit c13102960f
4 changed files with 36 additions and 15 deletions

View file

@ -7,7 +7,7 @@ xsetroot -cursor_name left_ptr #fix background cursor being different
sxhkd &
~/.config/polybar/launch.sh &
nitrogen --restore
picom &
picom --experimental-backends &
dunst &
copyq &
nm-applet &
@ -28,13 +28,13 @@ if [ "`hostname`" = "beef-book" ]; then
else
bspc monitor "DP-4" -d 1 2 3 4 5 6 7 8 9
fi
elif [ -n "`polybar -m | grep "VGA-0"`" ]; then
if [ -n "`polybar -m | grep "LVDS-1-1"`" ]; then
bspc monitor "LVDS-1-1" -d 1 2 3 4 5 6 7
bspc monitor "VGA-0" -d 8 9
else
bspc monitor "VGA-0" -d 1 2 3 4 5 6 7 8 9
fi
#elif [ -n "`polybar -m | grep "VGA-0"`" ]; then
# if [ -n "`polybar -m | grep "LVDS-1-1"`" ]; then
# bspc monitor "LVDS-1-1" -d 1 2 3 4 5 6 7
# bspc monitor "VGA-0" -d 8 9
# else
# bspc monitor "VGA-0" -d 1 2 3 4 5 6 7 8 9
# fi
else
bspc monitor -d 1 2 3 4 5 6 7 8 9
#bspc monitor "DP-1" -d 1 2 3 4 5 6 7 8 9
@ -102,7 +102,9 @@ bspc rule -a Nitrogen state=floating
bspc rule -a Screenkey manage=off
bspc rule -a Navigator desktop='^1'
bspc rule -a discord desktop='^4'
bspc rule -a dosbox state=pseudo_tiled
bspc rule -a lightcord desktop='^4'
bspc rule -a Element desktop='^4'
bspc rule -a dosbox state=floating
bspc rule -a AlarmWindow state=floating
bspc rule -a pop-up state=floating
bspc rule -a setup state=floating