1
0
Fork 0
dotfiles/waybar/config

105 lines
2.3 KiB
Plaintext
Raw Permalink Normal View History

2020-09-12 07:58:38 +00:00
{
2023-02-14 10:01:12 +00:00
"height": 36,
2020-09-12 07:58:38 +00:00
"modules-left": [
"sway/workspaces",
"sway/mode",
"custom/media"
],
"modules-right": [
"network",
"custom/vpn",
"pulseaudio",
"custom/pacman",
"temperature",
"battery",
"clock",
"tray",
"idle_inhibitor"
],
"custom/vpn": {
"format": " {} ",
"exec": "vpn-status",
2023-02-14 10:01:12 +00:00
"on-click": "vpn-toggle",
2020-09-12 07:58:38 +00:00
"interval": 1
},
"custom/pacman": {
"format": "{}",
"exec": "waybar-pacman",
"interval": 300
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"spacing": 10
},
"clock": {
"format": "{:%b %d, %a %H:%M}",
"tooltip-format": "<big>{:%B %Y}</big>\n<tt>{calendar}</tt>"
},
"temperature": {
"critical-threshold": 80,
"format": "{icon} {temperatureC}°C",
"format-icons": [
"",
"",
""
]
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
"format-icons": [
"",
"",
"",
"",
""
]
},
"network": {
"format-wifi": " {essid}",
"interval": 10,
"tooltip-format-wifi": "SSID: {essid}\nSignal strength: {signalStrength}% ({signaldBm} dBm)\nFreqency: {frequency}MHz\n\nIP: {ipaddr}\nInterface: {ifname}",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"on-click-right": "nm-connection-editor"
},
"pulseaudio": {
"format": "{icon} {volume}% {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "",
"format-source-muted": "",
"format-icons": {
2023-02-14 10:01:12 +00:00
"headphone": "",
2020-09-12 07:58:38 +00:00
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
"",
""
]
},
2023-02-14 10:01:12 +00:00
"on-click-right": "pavucontrol",
"on-click-middle": "audio-out -t"
2020-09-12 07:58:38 +00:00
}
}