forked from fabian/nix
		
	add privacy and disk to waybar
This commit is contained in:
		
							parent
							
								
									158c761ae2
								
							
						
					
					
						commit
						0d7022d7c1
					
				
					 1 changed files with 13 additions and 4 deletions
				
			
		|  | @ -26,8 +26,11 @@ in { | ||||||
|           ]; |           ]; | ||||||
| 
 | 
 | ||||||
|           modules-right = [ |           modules-right = [ | ||||||
|  |             "privacy" | ||||||
|             "cpu" |             "cpu" | ||||||
|             "memory" |             "memory" | ||||||
|  |             "disk" | ||||||
|  |             "temperature" | ||||||
|             "keyboard-state" |             "keyboard-state" | ||||||
|             "tray" |             "tray" | ||||||
|           ]; |           ]; | ||||||
|  | @ -42,8 +45,6 @@ in { | ||||||
|           "clock" = { |           "clock" = { | ||||||
|             interval = 60; |             interval = 60; | ||||||
|             format = "{:%A %B %d %Y %H:%M}"; |             format = "{:%A %B %d %Y %H:%M}"; | ||||||
|             tooltip = true; |  | ||||||
|             tooltip-format = "{}"; |  | ||||||
|           }; |           }; | ||||||
|           "cpu" = { |           "cpu" = { | ||||||
|             format = "cpu {usage}%"; |             format = "cpu {usage}%"; | ||||||
|  | @ -54,6 +55,14 @@ in { | ||||||
|             tooltip = true; |             tooltip = true; | ||||||
|             tooltip-format = "{used}/{total}"; |             tooltip-format = "{used}/{total}"; | ||||||
|           }; |           }; | ||||||
|  |           "disk" = { | ||||||
|  |             format = "disk {specific_used:0.0f}/{specific_total:0.0f}"; | ||||||
|  |             unit = "GiB"; | ||||||
|  |             tooltip = false; | ||||||
|  |           }; | ||||||
|  |           "privacy" = { | ||||||
|  |             icon-size = 12; | ||||||
|  |           }; | ||||||
|         }; |         }; | ||||||
|       }; |       }; | ||||||
|       style = '' |       style = '' | ||||||
|  | @ -86,8 +95,8 @@ in { | ||||||
|         .modules-left > widget:not(:first-child), |         .modules-left > widget:not(:first-child), | ||||||
|         .modules-center > widget:not(:first-child), |         .modules-center > widget:not(:first-child), | ||||||
|         .modules-right > widget:not(:first-child) { |         .modules-right > widget:not(:first-child) { | ||||||
|           margin-left: 8px; |           margin-left: 12px; | ||||||
|           padding-left: 8px; |           padding-left: 12px; | ||||||
|           border-left: 1px solid rgba(255, 255, 255, 0.08); |           border-left: 1px solid rgba(255, 255, 255, 0.08); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue