From 5123a3eda25957e1efe4e0b280e3c25e414a2b87 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 28 Feb 2024 13:42:48 +0100 Subject: eww, Hyprland: Fix various issues related to multimonitor --- .config/eww/eww.yuck | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/eww/eww.yuck') diff --git a/.config/eww/eww.yuck b/.config/eww/eww.yuck index b50fcc0..b1b02ca 100644 --- a/.config/eww/eww.yuck +++ b/.config/eww/eww.yuck @@ -2,7 +2,7 @@ (deflisten active-workspace `stdbuf -oL scripts/active-workspace-listener`) -(deflisten workspace-list :initial '[1]' +(deflisten workspace-list :initial '[[1]]' `stdbuf -oL scripts/workspace-list-listener`) (deflisten datetime @@ -73,7 +73,7 @@ (defwidget workspaces [monitor] (box :class "workspaces" :space-evenly false - (for id in workspace-list + (for id in {workspace-list[monitor]} (button :class {active-workspace[monitor] == id ? "active" : ""} :onclick `hyprctl dispatch workspace ${id}` id)))) -- cgit v1.2.3