Initial Commit, move from a symlink farm to yadm

This commit is contained in:
2024-05-14 16:41:00 +02:00
commit 957a4eb474
210 changed files with 29165 additions and 0 deletions

19
.config/polybar/launch.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar
echo "---" >> /tmp/polybar.log
if type "xrandr"; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
MONITOR=$m polybar --reload example >>/tmp/polybar.log 2>&1 &
done
else
polybar --reload example >>/tmp/polybar.log 2>&1 &
fi
echo "Bars launched..."