waybar: add mouse baterry indicator
This commit is contained in:
		
							parent
							
								
									910670ba0b
								
							
						
					
					
						commit
						b8cd22e425
					
				
					 7 changed files with 96 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -38,6 +38,7 @@ in
 | 
			
		|||
            "custom/playerctl"
 | 
			
		||||
            "tray"
 | 
			
		||||
            "custom/controller-battery"
 | 
			
		||||
            "custom/mouse-battery"
 | 
			
		||||
            "custom/caffeine"
 | 
			
		||||
            "pulseaudio"
 | 
			
		||||
            (lib.optional (osConfig.services.vpn.enable or false) "custom/vpn")
 | 
			
		||||
| 
						 | 
				
			
			@ -164,7 +165,11 @@ in
 | 
			
		|||
            format = "{}";
 | 
			
		||||
            exec = lib.getExe pkgs.controller-battery;
 | 
			
		||||
            interval = 1;
 | 
			
		||||
            tooltip = false;
 | 
			
		||||
          };
 | 
			
		||||
          "custom/mouse-battery" = {
 | 
			
		||||
            format = "{}";
 | 
			
		||||
            exec = lib.getExe pkgs.mouse-battery;
 | 
			
		||||
            interval = 1;
 | 
			
		||||
          };
 | 
			
		||||
          "custom/caffeine" = {
 | 
			
		||||
            format = "{}";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,6 +38,7 @@ window#waybar.solo {
 | 
			
		|||
#custom-mpd,
 | 
			
		||||
#custom-playerctl,
 | 
			
		||||
#custom-controller-battery,
 | 
			
		||||
#custom-mouse-battery,
 | 
			
		||||
#tray,
 | 
			
		||||
#clock,
 | 
			
		||||
#network,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue