Adds polybar

This commit is contained in:
Michel 2024-11-02 15:57:09 +01:00
parent 56921bfdcc
commit 0f0b9089a4
12 changed files with 1090 additions and 0 deletions

14
.config/polybar/launch.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Terminate already running bar instances
# If all your bars have ipc enabled, you can use
polybar-msg cmd quit
# Otherwise you can use the nuclear option:
# killall -q polybar
# Launch bar1 and bar2
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
polybar main 2>&1 | tee -a /tmp/polybar1.log & disown
MONITOR=DisplayPort-1 polybar side-monitor 2>&1 | tee -a /tmp/polybar2.log & disown
echo "Bars launched..."