aboutsummaryrefslogtreecommitdiff
path: root/.config/eww/scripts
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-07-02 20:38:04 +0100
committerJustine Smithies <justine@smithies.me.uk>2024-07-02 20:38:04 +0100
commitfe7979e2f84773e5d29701887377539563126fe3 (patch)
tree464bb5d33b8a483e96239b0099cb4abb2d932202 /.config/eww/scripts
parent1ef698ca8293a0ebd1c836359e45948e17adfa68 (diff)
On start daemonise Eww before opening bars
Diffstat (limited to '.config/eww/scripts')
-rwxr-xr-x.config/eww/scripts/start.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/eww/scripts/start.sh b/.config/eww/scripts/start.sh
index 45f1946..7de1f77 100755
--- a/.config/eww/scripts/start.sh
+++ b/.config/eww/scripts/start.sh
@@ -3,6 +3,9 @@
# kill any running instances if they exist
eww kill
+# Start Eww daemon
+eww daemon
+
# start a bar for each monitor
monitors=$(wlr-randr | grep "^[^ ]" | awk '{ print$1 }' | wc -l | xargs)
total=$(wlr-randr | grep "^[^ ]" | awk '{ print$1 }' | wc -l | xargs)