mirror of
				https://forge.katzen.cafe/schrottkatze/nix-configs.git
				synced 2025-11-03 19:17:57 +01:00 
			
		
		
		
	rewrite bar-ws-monitor for niri support
This commit is contained in:
		
					parent
					
						
							
								b08b46f4a8
							
						
					
				
			
			
				commit
				
					
						c7deaaa048
					
				
			
		
					 4 changed files with 107 additions and 75 deletions
				
			
		| 
						 | 
				
			
			@ -3,9 +3,10 @@
 | 
			
		|||
    :class "workspaces"
 | 
			
		||||
    (for workspace in workspaces
 | 
			
		||||
      (button
 | 
			
		||||
        :class "${workspace.urgent ? "urgent" : ""} ${workspace.focused ? "focused" : 0}"
 | 
			
		||||
        :style "border-bottom: 4px solid ${workspace.color}"
 | 
			
		||||
        :class "${workspace.active ? "focused" : 0}"
 | 
			
		||||
        :onclick "swaymsg workspace ${workspace.name}"
 | 
			
		||||
        (label :text "${workspace.name}")
 | 
			
		||||
        (label :text "${workspace.idx}")
 | 
			
		||||
      )
 | 
			
		||||
    )
 | 
			
		||||
  )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue