mirror of
				https://github.com/AquaMorph/dotfiles.git
				synced 2025-11-03 17:03:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			106 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			106 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
    "layer": "top",
 | 
						|
    "output": ["DVI-D-0", "LVDS-1", "eDP-1"],
 | 
						|
    "position": "top",
 | 
						|
    "height": 35, // Waybar height (to be removed for auto height)
 | 
						|
    "modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
 | 
						|
    "modules-center": ["sway/window"],
 | 
						|
    "modules-right": ["pulseaudio", "network", "backlight", "battery", "tray", "clock"],
 | 
						|
    // Modules configuration
 | 
						|
     "sway/workspaces": {
 | 
						|
         "disable-scroll": true,
 | 
						|
         "all-outputs": true,
 | 
						|
         "format": "{icon}",
 | 
						|
         "format-icons": {
 | 
						|
             "1": "1",
 | 
						|
             "2": "",
 | 
						|
             "3": "3",
 | 
						|
             "4": "4",
 | 
						|
             "5": "5",
 | 
						|
	     "13": "♫",
 | 
						|
             "urgent": "",
 | 
						|
             "focused": "",
 | 
						|
             "default": ""
 | 
						|
         }
 | 
						|
     },
 | 
						|
    "keyboard-state": {
 | 
						|
        "numlock": true,
 | 
						|
        "capslock": true,
 | 
						|
        "format": "{icon} {name}",
 | 
						|
        "format-icons": {
 | 
						|
            "locked": "",
 | 
						|
            "unlocked": ""
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "sway/mode": {
 | 
						|
        "format": "<span style=\"italic\">{}</span>"
 | 
						|
    },
 | 
						|
    "tray": {
 | 
						|
        // "icon-size": 21,
 | 
						|
        "spacing": 10
 | 
						|
    },
 | 
						|
    "clock": {
 | 
						|
    	"interval": 1,
 | 
						|
	"format": "{:%I:%M}",
 | 
						|
        "format-alt": "{:%Y-%m-%d %I:%M:%S}",
 | 
						|
	"tooltip": false
 | 
						|
    },
 | 
						|
    "temperature": {
 | 
						|
        // "thermal-zone": 2,
 | 
						|
        // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
 | 
						|
        "critical-threshold": 80,
 | 
						|
        "format-critical": "{icon} {temperatureC}°C",
 | 
						|
        "format": "{icon} {temperatureC}°C",
 | 
						|
        "format-icons": ["", "", ""]
 | 
						|
    },
 | 
						|
    "backlight": {
 | 
						|
        // "device": "acpi_video1",
 | 
						|
        "format": "{icon} {percent}%",
 | 
						|
        "format-icons": [""]
 | 
						|
    },
 | 
						|
    "battery": {
 | 
						|
        "states": {
 | 
						|
            // "good": 95,
 | 
						|
            "warning": 30,
 | 
						|
            "critical": 15
 | 
						|
        },
 | 
						|
        "format": "{icon} {capacity}%",
 | 
						|
        "format-charging": "{capacity}% ",
 | 
						|
        "format-plugged": "{capacity}% ",
 | 
						|
        "format-alt": "{icon} {time}",
 | 
						|
        "format-good": "", // An empty format will hide the module
 | 
						|
        "format-full": "",
 | 
						|
        "format-icons": ["", "", "", "", ""]
 | 
						|
    },
 | 
						|
    "network": {
 | 
						|
        // "interface": "wlp2*", // (Optional) To force the use of this interface
 | 
						|
        "format-wifi": "{icon} {essid}",
 | 
						|
        "format-ethernet": "{ipaddr}/{cidr} ",
 | 
						|
        "tooltip-format": "{ifname} via {gwaddr} ",
 | 
						|
        "format-linked": "{ifname} (No IP) ",
 | 
						|
        "format-disconnected": "Disconnected ⚠",
 | 
						|
        "format-alt": "{ifname}: {ipaddr}/{cidr}",
 | 
						|
	"format-icons": [""]
 | 
						|
    },
 | 
						|
    "pulseaudio": {
 | 
						|
        // "scroll-step": 1, // %, can be a float
 | 
						|
        "format": "{icon} {volume}% {format_source}",
 | 
						|
        "format-bluetooth": "{volume}% {icon} {format_source}",
 | 
						|
        "format-bluetooth-muted": " {icon} {format_source}",
 | 
						|
        "format-muted": "{format_source}",
 | 
						|
        "format-source": " {volume}%",
 | 
						|
        "format-source-muted": "",
 | 
						|
        "format-icons": {
 | 
						|
            "headphone": "",
 | 
						|
            "hands-free": "",
 | 
						|
            "headset": "",
 | 
						|
            "phone": "",
 | 
						|
            "portable": "",
 | 
						|
            "car": "",
 | 
						|
            "default": ["", "", ""]
 | 
						|
        },
 | 
						|
        "on-click": "qjackctl"
 | 
						|
    }
 | 
						|
}
 | 
						|
 |