mirror of
				https://forge.katzen.cafe/schrottkatze/nix-configs.git
				synced 2025-10-31 01:27:57 +01:00 
			
		
		
		
	add workspace monitor to bottom bar and remove waybar
This commit is contained in:
		
					parent
					
						
							
								089740ffaf
							
						
					
				
			
			
				commit
				
					
						a9525ec467
					
				
			
		
					 7 changed files with 144 additions and 22 deletions
				
			
		|  | @ -15,7 +15,7 @@ | |||
|     (centerbox | ||||
|       (box | ||||
|         :halign "start" | ||||
|         (label :text "left") | ||||
|         (workspaceWidget) | ||||
|       ) | ||||
|       (box | ||||
|         :halign "center" | ||||
|  | @ -39,3 +39,19 @@ | |||
|     ) | ||||
|   ) | ||||
| ) | ||||
| 
 | ||||
| (defwidget workspaceWidget [] | ||||
|   (box  | ||||
|     :class "workspaces" | ||||
|     (for workspace in workspaces | ||||
|       (button | ||||
|         (label :markup "<span foreground=\"${workspace.urgent ? "#ff0000" : "#ffffff"}\" background=\"${workspace.focused ? "#383838" : "#282828"}\">${workspace.name}</span>") | ||||
|       ) | ||||
|     ) | ||||
|   ) | ||||
| ) | ||||
| 
 | ||||
| (deflisten workspaces | ||||
|   :initial "[]" | ||||
|   "bar-ws-monitor" | ||||
| ) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Schrottkatze
				Schrottkatze