66 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "layer": "top",
 | 
						|
  "modules-left": ["sway/workspaces"],
 | 
						|
  "modules-center": ["clock"],
 | 
						|
  "modules-right": ["custom/playerctl", "custom/weather", "pulseaudio", "network", "tray"],
 | 
						|
  "sway/workspaces": {
 | 
						|
    "disable-scroll": true,
 | 
						|
    "all-outputs": true,
 | 
						|
    "format": "{name}: {icon}",
 | 
						|
    "format-icons": {
 | 
						|
      "1":"",
 | 
						|
      "2":"",
 | 
						|
      "3":"",
 | 
						|
      "4":"",
 | 
						|
      "5":"",
 | 
						|
      "6":"",
 | 
						|
      "urgent": "",
 | 
						|
      "focused": "",
 | 
						|
      "default": ""
 | 
						|
    }
 | 
						|
  },
 | 
						|
  "sway/window": {
 | 
						|
    "max-length": 50,
 | 
						|
    "tooltip": false
 | 
						|
  },
 | 
						|
  "clock": {
 | 
						|
    "format-alt": "{:%m-%d-%Y}",
 | 
						|
    "tooltip": false
 | 
						|
  },
 | 
						|
  "custom/weather": {
 | 
						|
    "format": "{} °",
 | 
						|
    "tooltip": true,
 | 
						|
    "interval": 3600,
 | 
						|
    "exec": "wttrbar --fahrenheit --main-indicator 'temp_F' --location 'Grand Rapids'",
 | 
						|
    "return-type": "json"
 | 
						|
  },
 | 
						|
  "network": {
 | 
						|
    "format-wifi": " {essid} ({signalStrength}%)",
 | 
						|
    "format-ethernet": " {ipaddr}",
 | 
						|
    "format-disconnected": "⚠ Disconnected",
 | 
						|
    "family": "ipv4",
 | 
						|
    "interval": 5,
 | 
						|
    "tooltip": false
 | 
						|
  },
 | 
						|
  "pulseaudio": {
 | 
						|
    "format": "{icon} {volume}%",
 | 
						|
    "format-bluetooth": "{icon} {volume}%",
 | 
						|
    "format-muted": "",
 | 
						|
    "format-icons": {
 | 
						|
      "headphones": "",
 | 
						|
      "phone": "",
 | 
						|
      "portable": "",
 | 
						|
      "car": "",
 | 
						|
      "default": ["", ""]
 | 
						|
    },
 | 
						|
    "tooltip": false
 | 
						|
  },
 | 
						|
  "custom/playerctl": {
 | 
						|
    "format": "♬ {}",
 | 
						|
    "max-length": 40,
 | 
						|
    "interval": 5,
 | 
						|
    "exec": "playerctl metadata --format '{{ artist }} - {{ title }}'",
 | 
						|
    "tooltip": false
 | 
						|
  },
 | 
						|
}
 |