[waybar] feat: Add privacy module
This commit is contained in:
		
							parent
							
								
									7866033826
								
							
						
					
					
						commit
						19affd8b0e
					
				
					 3 changed files with 27 additions and 1 deletions
				
			
		|  | @ -32,6 +32,7 @@ | |||
|     "height": 25, | ||||
|     "modules-left": ["sway/mode"], | ||||
|     "modules-center": ["clock"], | ||||
|     "modules-right": ["privacy"], | ||||
| 
 | ||||
|     "include": [ | ||||
|         // Import modules (!) | ||||
|  |  | |||
|  | @ -128,7 +128,25 @@ | |||
|         //     "0:¯\\_(ツ)_/¯": [] | ||||
|         // } | ||||
|     },  | ||||
| 	 | ||||
| 
 | ||||
|     "privacy": { | ||||
|         "icon-spacing": 4, | ||||
|         "icon-size": 18, | ||||
|         "transition-duration": 250, | ||||
|         "modules": [ | ||||
|             { | ||||
|                 "type": "screenshare", | ||||
|                 "tooltip": true, | ||||
|                 "tooltip-icon-size": 18, | ||||
|             }, | ||||
|             { | ||||
|                 "type": "audio-in", | ||||
|                 "tooltip": true, | ||||
|                 "tooltip-icon-size": 18, | ||||
|             }, | ||||
|         ], | ||||
|     }, | ||||
| 
 | ||||
|     "pulseaudio": { | ||||
|         "format": "{volume}% {icon}{format_source}", | ||||
|         "format-muted": "\uf6a9{format_source}", | ||||
|  |  | |||
|  | @ -134,5 +134,12 @@ label:focus { | |||
|     background-color: #eb4d4b; | ||||
| } | ||||
| 
 | ||||
| #privacy-item.audio-in, | ||||
| #privacy-item.audio-out, | ||||
| #privacy-item.screenshare { | ||||
|     background-color: #ffaa01; | ||||
|     color: #2d3436; | ||||
| } | ||||
| 
 | ||||
| @import "sharp.css"; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue