mirror of
				https://gitea.blesmrt.net/mikaela/shell-things.git
				synced 2025-10-31 01:17:20 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			68 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
| 	"battery": {
 | |
| 		"format": "BAT {capacity}%",
 | |
| 		"states": {
 | |
| 			"critical": 20,
 | |
| 			"warning": 45
 | |
| 		}
 | |
| 	},
 | |
| 	"bluetooth": {
 | |
| 		"format": "BT {status}",
 | |
| 		"format-connected": "BT {device_alias}",
 | |
| 		"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
 | |
| 	},
 | |
| 	"clock": {
 | |
| 		"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
 | |
| 	},
 | |
| 	"cpu": {
 | |
| 		"format": "CPU {usage}%"
 | |
| 	},
 | |
| 	"layer": "top",
 | |
| 	"memory": {
 | |
| 		"format": "RAM {percentage}%"
 | |
| 	},
 | |
| 	"modules-left": [
 | |
| 		"sway/workspaces",
 | |
| 		"sway/mode"
 | |
| 	],
 | |
| 	"modules-right": [
 | |
| 		"gamemode",
 | |
| 		"cpu",
 | |
| 		"memory",
 | |
| 		"battery",
 | |
| 		"pulseaudio",
 | |
| 		"sway/language",
 | |
| 		"network",
 | |
| 		"bluetooth",
 | |
| 		"tray",
 | |
| 		"clock"
 | |
| 	],
 | |
| 	"network": {
 | |
| 		"format": "{ifname}",
 | |
| 		"format-disconnected": "",
 | |
| 		"format-ethernet": "{ifname} up",
 | |
| 		"format-wifi": "{frequency}G {signalStrength}% {essid}",
 | |
| 		"max-length": 50,
 | |
| 		"tooltip-format": "{ifname}",
 | |
| 		"tooltip-format-disconnected": "Disconnected",
 | |
| 		"tooltip-format-ethernet": "{ifname} up",
 | |
| 		"tooltip-format-wifi": "{frequency}G {signalStrength}% {essid}"
 | |
| 	},
 | |
| 	"position": "left",
 | |
| 	"pulseaudio": {
 | |
| 		"format": "VOL {volume}%",
 | |
| 		"format-bluetooth": "BT VOL {volume}%",
 | |
| 		"ignored-sinks": [
 | |
| 			"Easy Effects Sink",
 | |
| 			"Easy Effects Source"
 | |
| 		]
 | |
| 	},
 | |
| 	"sway/language": {
 | |
| 		"format": "KBD {short} {variant}",
 | |
| 		"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
 | |
| 	},
 | |
| 	"sway/window": {
 | |
| 		"max-length": 50
 | |
| 	}
 | |
| }
 |