mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-05 07:06:24 +01:00
improve workspace selector styling
This commit is contained in:
parent
37a4235e5c
commit
867514362a
|
@ -45,8 +45,9 @@
|
|||
:class "workspaces"
|
||||
(for workspace in workspaces
|
||||
(button
|
||||
:class "${workspace.urgent ? "urgent" : ""} ${workspace.focused ? "focused" : 0}"
|
||||
:onclick "swaymsg workspace ${workspace.name}"
|
||||
(label :markup "<span foreground=\"${workspace.urgent ? "#ff0000" : "#ffffff"}\" background=\"${workspace.focused ? "#484848" : "#282828"}\">${workspace.name}</span>")
|
||||
(label :text "${workspace.name}")
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
|
@ -5,3 +5,16 @@
|
|||
label {
|
||||
font: 14pt "FiraCode Nerd Font";
|
||||
}
|
||||
|
||||
.workspaces button {
|
||||
border: 0px;
|
||||
background-color: #282828;
|
||||
}
|
||||
|
||||
.workspaces button.urgent {
|
||||
background-color: #cc241d;
|
||||
}
|
||||
|
||||
.workspaces button.focused {
|
||||
background-color: #504935;
|
||||
}
|
Loading…
Reference in a new issue