add gui workspace switching
This commit is contained in:
parent
a9525ec467
commit
37a4235e5c
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@
|
|||
:class "workspaces"
|
||||
(for workspace in workspaces
|
||||
(button
|
||||
(label :markup "<span foreground=\"${workspace.urgent ? "#ff0000" : "#ffffff"}\" background=\"${workspace.focused ? "#383838" : "#282828"}\">${workspace.name}</span>")
|
||||
:onclick "swaymsg workspace ${workspace.name}"
|
||||
(label :markup "<span foreground=\"${workspace.urgent ? "#ff0000" : "#ffffff"}\" background=\"${workspace.focused ? "#484848" : "#282828"}\">${workspace.name}</span>")
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue