Update polybaR

This commit is contained in:
Marco Thomas
2021-02-18 08:41:05 +01:00
parent 76d8cf19ee
commit e657b69dc9
7 changed files with 21 additions and 22 deletions

View File

@@ -3,16 +3,12 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
if type "xrandr"; then
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
if [ $mon = "eDP" ]; then
MONITOR=$mon polybar --reload laptop &
else
MONITOR=$mon polybar --reload main &
# MONITOR=$mon polybar --reload workspaces &
# MONITOR=$mon polybar --reload music &
# MONITOR=$mon polybar --reload tray &
# if [ $mon = "eDP" ]; then
# MONITOR=$mon polybar --reload info_laptop &
# else
# MONITOR=$mon polybar --reload info &
# fi
fi
done
else
echo "No Bars loaded."
notify-send "No screens for polybar were found"
fi

View File

@@ -10,11 +10,12 @@ dunst &
picom &
nm-applet &
# wallpaper
feh --bg-scale $HOME/data/nextcloud/Wallpaper/wallpaper.png
# adjust screens on nazarick
~/scripts/fix_screens.sh
# launch polybar
~/scripts/polybar.sh &
# wallpaper
# feh --bg-scale $HOME/data/nextcloud/Wallpaper/wallpaper.png
asetroot $HOME/data/nextcloud/Wallpaper/Animated/ -t 50 &