89 lines
1.9 KiB
Plaintext
89 lines
1.9 KiB
Plaintext
|
{
|
||
|
"layer": "bottom",
|
||
|
"position": "top",
|
||
|
"height": 28,
|
||
|
|
||
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
||
|
"modules-center": ["sway/window"],
|
||
|
"modules-center": "",
|
||
|
"modules-right": ["tray", "custom/storage", "pulseaudio", "network", "idle_inhibitor", "battery", "clock#date", "clock#time"],
|
||
|
"sway/workspaces": {
|
||
|
"format": "{name}",
|
||
|
"disable-scroll": true
|
||
|
},
|
||
|
"sway/mode": {
|
||
|
"format": "<span style=\"italic\">{}</span>", // Icon: expand-arrows-alt
|
||
|
"tooltip": false
|
||
|
},
|
||
|
"sway/window": {
|
||
|
"max-length": 80,
|
||
|
"tooltip": false
|
||
|
},
|
||
|
"clock#time": {
|
||
|
"interval": 1,
|
||
|
"format": "{:%H:%M:%S} ",
|
||
|
"tooltip": false
|
||
|
},
|
||
|
"clock#date": {
|
||
|
"interval": 10,
|
||
|
"format": " {:%a %d %b} ",
|
||
|
"tooltip": false
|
||
|
},
|
||
|
"battery": {
|
||
|
"format": "{capacity}% {icon}",
|
||
|
"format-alt": "{time} {icon}",
|
||
|
"format-icons": ["", "", "", "", ""],
|
||
|
"format-charging": "~{capacity}%",
|
||
|
"interval": 30,
|
||
|
"states": {
|
||
|
"warning": 25,
|
||
|
"critical": 10
|
||
|
},
|
||
|
"tooltip": false
|
||
|
},
|
||
|
"network": {
|
||
|
"format-wifi": "{icon} {essid} ({signalStrength}%) ",
|
||
|
"format-ethernet": "{icon} {ifname}: {ipaddr}/{cidr}",
|
||
|
"format-icons": {
|
||
|
"wifi": [""],
|
||
|
"ethernet": ["🖧"],
|
||
|
"disconnected": ["disconnected"]
|
||
|
},
|
||
|
"on-click": "nm-connection-editor",
|
||
|
"rotate": true,
|
||
|
"tooltip": false
|
||
|
},
|
||
|
"pulseaudio": {
|
||
|
"format": "{icon}",
|
||
|
"format-alt": "{volume} {icon}",
|
||
|
"format-alt-click": "click-right",
|
||
|
"format-muted": "muted",
|
||
|
"format-icons": {
|
||
|
"phone": [" ", " ", " "],
|
||
|
"default": ["", "", ""]
|
||
|
},
|
||
|
"scroll-step": 10,
|
||
|
"on-click": "qterminal -e alsamixer",
|
||
|
"tooltip": false
|
||
|
},
|
||
|
"custom/storage": {
|
||
|
"format": "{} ",
|
||
|
"format-alt": "{percentage}% ",
|
||
|
"format-alt-click": "click",
|
||
|
"return-type": "json",
|
||
|
"interval": 60,
|
||
|
"exec": "~/.config/waybar/modules/storage.sh"
|
||
|
},
|
||
|
"idle_inhibitor": {
|
||
|
"format": "{icon}",
|
||
|
"format-icons": {
|
||
|
"activated": "👁️",
|
||
|
"deactivated": ""
|
||
|
},
|
||
|
"tooltip": false
|
||
|
},
|
||
|
"tray": {
|
||
|
"icon-size": 18
|
||
|
}
|
||
|
}
|