New backup 2025-07-24 10:30:02
This commit is contained in:
parent
59f3c990e3
commit
0ee4141884
2 changed files with 9 additions and 3 deletions
|
@ -59,7 +59,7 @@ $bar-module-border-radius: 8px;
|
||||||
padding: 0px 5px;
|
padding: 0px 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.workspaces>button {
|
.workspaces>box>box>button {
|
||||||
margin: 5px 0px;
|
margin: 5px 0px;
|
||||||
background-color: $bar-module-bg-color;
|
background-color: $bar-module-bg-color;
|
||||||
border: 1px solid $bar-module-fg-color;
|
border: 1px solid $bar-module-fg-color;
|
||||||
|
|
|
@ -11,8 +11,14 @@
|
||||||
(for entry in array
|
(for entry in array
|
||||||
; {entry.focused ? (workspace :ws entry) : ""})))
|
; {entry.focused ? (workspace :ws entry) : ""})))
|
||||||
; (for ws in {}
|
; (for ws in {}
|
||||||
(literal
|
(box
|
||||||
:content {entry.focused ? "(workspace :ws entry)" : ""}))))
|
(literal
|
||||||
|
:content {(entry.num < jq(array, '.. | select(.type?) | select(.focused==true).num')) ? "(workspace :ws entry)" : "(box :visible false)"})
|
||||||
|
(literal
|
||||||
|
:content {entry.focused ? "(workspace :ws entry)" : "(box :visible false)"})
|
||||||
|
(literal
|
||||||
|
:content {(entry.num > jq(array, '.. | select(.type?) | select(.focused==true).num')) ? "(workspace :ws entry)" : "(box :visible false)"})))))
|
||||||
|
|
||||||
;; {entry.focused ? "${entry.num}" : ""})))
|
;; {entry.focused ? "${entry.num}" : ""})))
|
||||||
; (button :onclick `swaymsg workspace "${entry.name}"`
|
; (button :onclick `swaymsg workspace "${entry.name}"`
|
||||||
; :class {entry.focused ? "focused" : ""}
|
; :class {entry.focused ? "focused" : ""}
|
||||||
|
|
Loading…
Add table
Reference in a new issue