New backup 2025-09-01 12:15:02
This commit is contained in:
parent
53b18a5de5
commit
bb52727b75
2 changed files with 8 additions and 3 deletions
|
@ -40,9 +40,9 @@
|
|||
:visible {((entry.num >= activeWorkspace) && !entry.focused) ? true : false}
|
||||
:content {((entry.num >= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'right')" : "(box :visible false)"})))))))
|
||||
|
||||
(defwidget workspace [ws side ?lastws]
|
||||
(defwidget workspace [ws side ?lastws ?firstws]
|
||||
(button :onclick `swaymsg workspace "${ws.name}"`
|
||||
:class '${side} ${ws.num == lastws ? "last_workspace" : ""}'
|
||||
:class '${side} ${ws.num == lastws ? "last-workspace" : (ws.num == firstws ? "first-workspace" : "middle-workspace")} ${}'
|
||||
(box
|
||||
'${replace(ws.name,".*:","")}'
|
||||
(label
|
||||
|
|
|
@ -38,8 +38,13 @@
|
|||
border-radius: 0px $bar-module-bg-border-radius $bar-module-bg-border-radius 0px;
|
||||
}
|
||||
&.true>box>button {
|
||||
// &.first-workspace,
|
||||
// &.middle-workspace {
|
||||
border-radius: 0px;
|
||||
// border-radius: $bar-module-bg-border-radius;
|
||||
// }
|
||||
&.last-workspace {
|
||||
border-radius: 0px $bar-module-bg-border-radius $bar-module-bg-border-radius 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
border-left: 0px solid transparent;
|
||||
|
|
Loading…
Add table
Reference in a new issue