Add persistent workspaces to waybar, style urgent ones

This commit is contained in:
Salt 2024-02-15 01:44:51 -06:00
parent 796e1a717b
commit 36ae2c53d4
2 changed files with 20 additions and 1 deletions

View File

@ -5,7 +5,19 @@
"modules-center": ["tray"],
"modules-right": ["pulseaudio", "battery", "clock"],
"sway/workspaces": {
"disable-scroll": true
"disable-scroll": true,
"persistent_workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": [],
"10": []
}
},
"tray": {
"icon-size": 16,

View File

@ -30,6 +30,13 @@ window#waybar {
background: #83a598;
color: #282828;
}
#workspaces button.urgent {
background: #fabd2f;
color: #282828;
}
#workspaces button.persistent {
color: #32302f;
}
#mode {
background: #fb4934;
color: @theme_base_color;