add dk and polybar

This commit is contained in:
2025-09-01 21:56:44 +02:00
parent 9064a389e9
commit 83c3c752c0
4 changed files with 488 additions and 4 deletions

View File

@@ -6,8 +6,8 @@ fi
xset b off
xrandr --auto
xrandr --output HDMI1 --right-of DP1
xrandr --output DP-0 --left-of DP-2
xrandr --output DP-0 --left-of DP-2 --primary
xrandr --output HDMI-0 --left-of DP-0
xrdb -merge ~/.Xresources
setxkbmap pl -option ctrl:nocaps
@@ -30,8 +30,12 @@ xsetroot -cursor_name left_ptr
picom -b -I 1 -O 1 -i 1 -e 1 --no-fading-openclose || compton -b --no-fading-openclose
if which awesome > /dev/null; then
exec awesome
if which dk > /dev/null; then
for m in $(polybar --list-monitors | cut -d: -f1); do
MONITOR=$m polybar --reload bar &
done
fi
exec dk
fi
if which dwm > /dev/null; then
@@ -39,6 +43,10 @@ if which dwm > /dev/null; then
exec dwm
fi
if which awesome > /dev/null; then
exec awesome
fi
if which xmonad > /dev/null && test -f ~/.config/xmonad/xmonad.hs; then
exec xmonad
fi