updated alhp-scripts for eww

This commit is contained in:
2025-07-09 15:22:40 +02:00
parent 1e6ef2cd31
commit e421005de7
3 changed files with 12 additions and 13 deletions

View File

@@ -10,15 +10,14 @@
(box
:class "workspaces"
:space-evenly false
:height 20
:spacing 0
(for workspace in workspaces
(eventbox
:width 35
:width 40
:onclick "hyprctl dispatch workspace ${workspace.id}"
:cursor "pointer"
:tooltip "${workspace.name}"
:class "workspaces--ws ${workspace.active == true ? 'workspaces--ws--active' : 'workspaces--ws--inactive'} ${workspace.name == 1 ? 'first' : workspace.name == 10 ? 'last' : 'middle'}"
(label
:class "workspaces--ws--label"
:text "${workspace.name}${workspace.windows > 0 ? '+' : ''}")))))
:text "${workspace.windows > 0 ? ' ${workspace.windows}' : ''}")))))