aboutsummaryrefslogtreecommitdiff
path: root/home-manager/polybar/launch.sh
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-10-17 21:53:43 +1300
committerDylan <boss@tehbox.org>2026-10-17 21:53:43 +1300
commit280e1bbe5e733128a451260685cc8ecd10a042a3 (patch)
tree78bab82353bbfa00f9a781015e246c274a5c983b /home-manager/polybar/launch.sh
parentbcfc69e424802276cc52fb6e00fb4a42e9c37816 (diff)
downloadnixos-configuration-280e1bbe5e733128a451260685cc8ecd10a042a3.tar.gz
nixos-configuration-280e1bbe5e733128a451260685cc8ecd10a042a3.zip
feat: Dendritic pattern
This re-write was done with the help of claude, and still needs a decent amount of changes before it properly follows the dendritic pattern
Diffstat (limited to 'home-manager/polybar/launch.sh')
-rwxr-xr-xhome-manager/polybar/launch.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/home-manager/polybar/launch.sh b/home-manager/polybar/launch.sh
deleted file mode 100755
index 41d5f3d..0000000
--- a/home-manager/polybar/launch.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/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/polybarstatus.log
-
-for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
- if [ $(xrandr | grep $m | grep primary | wc -l) -eq 1 ]; then
- MONITOR=$m polybar mainbar | tee -a /tmp/mainpolybar.log & disown
- else
- MONITOR=$m polybar extrabar | tee -a /tmp/extrapolybar.log & disown
- fi
-done
-
-echo "Bars launched..."