feat(eww): add power button click
This commit is contained in:
		
							parent
							
								
									c34fea90fe
								
							
						
					
					
						commit
						9f19b0e60e
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -83,7 +83,9 @@
 | 
			
		|||
      :char "")))
 | 
			
		||||
 | 
			
		||||
(defwidget power []
 | 
			
		||||
  (box :class "power" :valign "end" "⏻"))
 | 
			
		||||
  (eventbox
 | 
			
		||||
    :onclick "hyprctl dispatch exec 'wlogout'"
 | 
			
		||||
    (box :class "power" :valign "end" "⏻")))
 | 
			
		||||
 | 
			
		||||
(defwidget tray []
 | 
			
		||||
  (systray :orientation "v" :icon-size 20))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue