114 lines
2.7 KiB
Text
114 lines
2.7 KiB
Text
{
|
|
"layer": "top",
|
|
"position": "bottom",
|
|
"output": ["DP-1"],
|
|
"height": 32,
|
|
"modules-left": ["sway/workspaces"],
|
|
"modules-center": ["clock"],
|
|
"modules-right": [
|
|
"idle_inhibitor",
|
|
"pulseaudio",
|
|
// "network",
|
|
"cpu",
|
|
"memory",
|
|
"temperature",
|
|
"backlight",
|
|
"battery",
|
|
"tray"
|
|
],
|
|
"sway/workspaces": {
|
|
"disable-scroll": false,
|
|
"persistent_workspaces": {
|
|
"1": [],
|
|
"2": [],
|
|
"3": [],
|
|
"4": [],
|
|
"5": [],
|
|
"6": [],
|
|
"7": [],
|
|
"8": [],
|
|
"9": []
|
|
// "10": []
|
|
},
|
|
"all-outputs": true,
|
|
"format": "{name}"
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "<span foreground=\"#666666\">{icon}</span>",
|
|
"format-icons": {
|
|
"activated": "",
|
|
"deactivated": ""
|
|
}
|
|
},
|
|
"tray": {
|
|
"icon-size": 24,
|
|
"spacing": 4
|
|
},
|
|
"clock": {
|
|
"interval": 1,
|
|
"format": "{:%a %b %d %H:%M:%S}"
|
|
},
|
|
"cpu": {
|
|
"format": "{usage} <span foreground=\"#666666\"></span>",
|
|
"tooltip": true,
|
|
"interval": 3
|
|
},
|
|
"memory": {
|
|
"format": "{} <span foreground=\"#666666\"></span>"
|
|
},
|
|
"temperature": {
|
|
// "thermal-zone": 2,
|
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
|
"critical-threshold": 80,
|
|
// "format-critical": "{temperatureC}°C {icon}",
|
|
"format": "{temperatureC}°C {icon}",
|
|
"format-icons": ["", "", ""]
|
|
},
|
|
"backlight": {
|
|
// "device": "acpi_video1",
|
|
"format": "{percent}% {icon}",
|
|
"format-icons": ["", ""]
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
// "good": 95,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{capacity}% {icon}",
|
|
"format-charging": "{capacity}% ",
|
|
"format-plugged": "{capacity}% ",
|
|
"format-alt": "{time} {icon}",
|
|
// "format-good": "", // An empty format will hide the module
|
|
// "format-full": "",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
"network": {
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
|
"format-linked": "{ifname} (No IP) ",
|
|
"format-disconnected": "Disconnected ⚠",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
},
|
|
"pulseaudio": {
|
|
// "scroll-step": 1, // %, can be a float
|
|
"format": "{volume} <span foreground=\"#666666\">{icon}</span> {format_source}",
|
|
//"format": "{volume}% {icon} {format_source}",
|
|
//"format-bluetooth": "{volume}% {icon} {format_source}",
|
|
//"format-bluetooth-muted": " {icon} {format_source}",
|
|
//"format-muted": " {format_source}",
|
|
"format-muted": "<span foreground=\"#666666\"></span> {format_source}",
|
|
"format-source": "<span foreground=\"#666666\"> </span>",
|
|
"format-source-muted": "<span foreground=\"#666666\"></span>",
|
|
"format-icons": {
|
|
"headphones": "",
|
|
"handsfree": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol"
|
|
}
|
|
}
|