mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 07:52:42 +01:00 
			
		
		
		
	feat(sway/scratchpad): add some configs
Add some configs for displaying. Remove draft codes.
This commit is contained in:
		| @@ -5,7 +5,7 @@ | ||||
|     // "width": 1280, // Waybar width | ||||
|     "spacing": 4, // Gaps between modules (4px) | ||||
|     // Choose the order of the modules | ||||
|     "modules-left": ["sway/workspaces", "sway/mode", "custom/media"], | ||||
|     "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/media"], | ||||
|     "modules-center": ["sway/window"], | ||||
|     "modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"], | ||||
|     // Modules configuration | ||||
| @@ -36,6 +36,13 @@ | ||||
|     "sway/mode": { | ||||
|         "format": "<span style=\"italic\">{}</span>" | ||||
|     }, | ||||
|     "sway/scratchpad": { | ||||
|         "format": "{icon} {count}", | ||||
|         "show-empty": false, | ||||
|         "format-icons": ["", ""], | ||||
|         "tooltip": true, | ||||
|         "tooltip-format": "{app}: {title}" | ||||
|     }, | ||||
|     "mpd": { | ||||
|         "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", | ||||
|         "format-disconnected": "Disconnected ", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 asas1asas200
					asas1asas200