mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-30 23:42:42 +01:00 
			
		
		
		
	Added default config for sway binding mode
This commit is contained in:
		| @@ -4,7 +4,7 @@ | ||||
|     // "height": 30, // Waybar height | ||||
|     // "width": 1280, // Waybar width | ||||
|     // Choose the order of the modules | ||||
|     "modules-left": ["sway/workspaces", "custom/spotify"], | ||||
|     "modules-left": ["sway/workspaces", "sway/mode", "custom/spotify"], | ||||
|     "modules-center": ["sway/window"], | ||||
|     "modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "battery#bat2", "clock", "tray"], | ||||
|     // Modules configuration | ||||
| @@ -23,6 +23,9 @@ | ||||
|     //         "default": "" | ||||
|     //     } | ||||
|     // }, | ||||
|     "sway/mode": { | ||||
|         "format": "{}" | ||||
|     }, | ||||
|     "sway/window": { | ||||
|         "max-length": 50 | ||||
|     }, | ||||
|   | ||||
| @@ -23,7 +23,12 @@ window#waybar { | ||||
|     border-bottom: 3px solid white; | ||||
| } | ||||
|  | ||||
| #clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray { | ||||
| #mode { | ||||
|     background: #64727D; | ||||
|     border-bottom: 3px solid white; | ||||
| } | ||||
|  | ||||
| #clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray #mode { | ||||
|     padding: 0 10px; | ||||
|     margin: 0 5px; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Robinhuett
					Robinhuett