Add persistent workspaces to waybar, style urgent ones
This commit is contained in:
		@@ -5,7 +5,19 @@
 | 
				
			|||||||
	"modules-center": ["tray"],
 | 
						"modules-center": ["tray"],
 | 
				
			||||||
	"modules-right": ["pulseaudio", "battery", "clock"],
 | 
						"modules-right": ["pulseaudio", "battery", "clock"],
 | 
				
			||||||
	"sway/workspaces": {
 | 
						"sway/workspaces": {
 | 
				
			||||||
		"disable-scroll": true
 | 
							"disable-scroll": true,
 | 
				
			||||||
 | 
							"persistent_workspaces": {
 | 
				
			||||||
 | 
								"1": [],
 | 
				
			||||||
 | 
								"2": [],
 | 
				
			||||||
 | 
								"3": [],
 | 
				
			||||||
 | 
								"4": [],
 | 
				
			||||||
 | 
								"5": [],
 | 
				
			||||||
 | 
								"6": [],
 | 
				
			||||||
 | 
								"7": [],
 | 
				
			||||||
 | 
								"8": [],
 | 
				
			||||||
 | 
								"9": [],
 | 
				
			||||||
 | 
								"10": []
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	"tray": {
 | 
						"tray": {
 | 
				
			||||||
		"icon-size": 16,
 | 
							"icon-size": 16,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -30,6 +30,13 @@ window#waybar {
 | 
				
			|||||||
	background: #83a598;
 | 
						background: #83a598;
 | 
				
			||||||
	color: #282828;
 | 
						color: #282828;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					#workspaces button.urgent {
 | 
				
			||||||
 | 
						background: #fabd2f;
 | 
				
			||||||
 | 
						color: #282828;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					#workspaces button.persistent {
 | 
				
			||||||
 | 
						color: #32302f;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
#mode {
 | 
					#mode {
 | 
				
			||||||
	background: #fb4934;
 | 
						background: #fb4934;
 | 
				
			||||||
	color: @theme_base_color;
 | 
						color: @theme_base_color;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user