eww: Only show workspaces on same monitor

This commit is contained in:
hulthe committed 2024-05-14 09:40:43 +02:00
1 parent ce8d911622
commit f4b52e2836
2 files changed
+6 -6

No files matched your search

+1 -2
View File
@@ -5,6 +5,5 @@ let active = (hyprctl activeworkspace -j | from json | get id)
hyprctl workspaces -j |
from json |
sort-by id |
get id |
each {|id| {id: $id class: (if ($id == $active) {"active"} else {""}) }} |
each {|w| {id: $w.id monitor: $w.monitorID class: (if ($w.id == $active) {"active"} else {""}) }} |
to json