50 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
    "layer": "top",
 | 
						|
    "modules-left": ["sway/workspaces", "sway/window", "pulseaudio/slider"],
 | 
						|
    "modules-center": ["custom/weather"],
 | 
						|
    "modules-right": ["cpu", "memory", "network", "custom/bg", "custom/date"],
 | 
						|
    "sway/workspaces": {
 | 
						|
        "all-outputs": true
 | 
						|
    },
 | 
						|
    "sway/window": {
 | 
						|
        "all-outputs": true,
 | 
						|
        "max-length": 20
 | 
						|
    },
 | 
						|
    "pulseaudio/slider": {
 | 
						|
        "min": 0,
 | 
						|
        "max": 100
 | 
						|
    },
 | 
						|
    "custom/spotify-scroll": {
 | 
						|
 | 
						|
    },
 | 
						|
    "custom/weather": {
 | 
						|
        "exec": "weather -pd",
 | 
						|
        "on-click": "i3-scratchpad.sh scratch st -n scratch -e weather -f",
 | 
						|
        "on-click-right": "weather -r",
 | 
						|
        "on-click-midde": "i3-scratchpad.sh scratch st -n scratch -e weather -pf"
 | 
						|
    },
 | 
						|
    "cpu": {
 | 
						|
        "format": "CPU: {usage}%"
 | 
						|
    },
 | 
						|
    "memory": {
 | 
						|
        "format": "RAM: {percentage}%",
 | 
						|
        "tooltip-format": "RAM: {used}/{total} GiB"
 | 
						|
    },
 | 
						|
    "network": {
 | 
						|
        "interval": 2,
 | 
						|
        "format-ethernet": "ETH: {bandwidthTotalBytes}",
 | 
						|
        "format-wifi": "WLAN: {ssid}",
 | 
						|
        "tooltip-format": "DOWN: {bandwidthDownBits} UP: {bandwidthUpBits} IP: {ipaddr}"
 | 
						|
    },
 | 
						|
    "custom/bg": {
 | 
						|
        "exec": "echo -e '\uf1c5'",
 | 
						|
        "interval": "once",
 | 
						|
        "on-click": "wallpaper.sh -s"
 | 
						|
    },
 | 
						|
    "custom/date": {
 | 
						|
        "exec": "date +'%A, %b %d %l:%M %P'",
 | 
						|
        "interval": 10
 | 
						|
    }
 | 
						|
}
 | 
						|
 |