workspace stuff rework

This commit is contained in:
Schrottkatze 2025-09-04 04:20:59 +02:00
parent 05fdb8a9cb
commit 0522f35453
Signed by: schrottkatze
SSH key fingerprint: SHA256:/raZeWZ2RLThYkX/nq26frnmA4Bi3qRM/hijRmDBa10
6 changed files with 100 additions and 32 deletions

View file

@ -6,7 +6,7 @@
:style "border-bottom: 4px solid ${workspace.color}${workspace.active ? "; background-color: #3c3836" : ""}"
:class "${workspace.focused ? "focused" : ""}"
:onclick "swaymsg workspace ${workspace.name}"
(label :text "${workspace.idx}")
(label :text "${workspace.icon ?: workspace.idx}")
)
)
)

View file

@ -13,7 +13,7 @@ button {
.workspaces button {
border: 0px;
padding: 0 3px;
padding: 5px 4px 0 4px;
}
.workspaces button.focused {