dotfiles/.config/waybar/config

141 lines
3.4 KiB
Plaintext
Raw Normal View History

2020-04-29 13:33:26 +02:00
{
"layer": "top",
2020-04-29 13:33:26 +02:00
"position": "top",
"height": 28,
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
2021-12-26 03:37:57 +01:00
"modules-right": ["tray", "pulseaudio", "network", "network#wireguard", "temperature", "custom/storage", "memory", "cpu", "backlight", "sway/language", "battery", "clock#date", "clock#time"],
2020-04-29 13:33:26 +02:00
"sway/workspaces": {
"all-outputs": false,
2020-04-29 13:33:26 +02:00
"format": "{name}",
"disable-scroll": true,
"disable-markup" : false
2020-04-29 13:33:26 +02:00
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>", // Icon: expand-arrows-alt
"tooltip": false
},
"sway/window": {
"max-length": 120,
2020-04-29 13:33:26 +02:00
"tooltip": false
},
"clock#time": {
"interval": 1,
2021-12-26 01:57:45 +01:00
"format": "{:%H:%M:%S %z}",
2020-04-29 13:33:26 +02:00
"tooltip": false
},
"clock#date": {
"interval": 10,
"format": " {:%a %d %b} ",
"tooltip": true,
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
2020-04-29 13:33:26 +02:00
},
2021-12-26 03:19:05 +01:00
"sway/language": {
"format": "{short}",
"tooltip": false
},
"memory": {
"interval": 5,
2022-03-26 02:36:26 +01:00
"format": "{}%",
"states": {
"warning": 70,
"critical": 90
},
2020-05-27 12:14:20 +02:00
"on-click": "exec alacritty -e ytop"
},
"cpu": {
"interval": 5,
"format": "{usage:2}%",
"states": {
"warning": 70,
"critical": 90
}
},
2021-05-29 22:22:05 +02:00
"backlight": {
"interval": 10,
"device": "acpi_video1",
2022-03-26 02:36:26 +01:00
"format": "{percent}%{icon}",
"format-icons": ["☁️", "🌥️", "⛅", "☀️"]
2021-05-29 22:22:05 +02:00
},
2020-04-29 13:33:26 +02:00
"battery": {
"format": "{capacity}% {icon}",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""],
"format-charging": "~{capacity}%",
2021-05-29 22:26:29 +02:00
"format-plugged": "🔌{capacity}%",
2020-04-29 13:33:26 +02:00
"interval": 30,
"states": {
2021-05-29 22:26:29 +02:00
"good": 85,
"warning": 30,
"critical": 15
2020-04-29 13:33:26 +02:00
},
"tooltip": false
},
"network": {
2022-03-26 02:36:26 +01:00
"format-wifi": "{icon}{essid} ({signalStrength}%)",
"format-ethernet": "{icon}<span foreground='#929292'>{ifname}:</span>{ipaddr}/{cidr}",
"format-linked": "<span foreground='#ffbf00'>{ifname}</span> (No IP)",
2020-04-29 13:33:26 +02:00
"format-icons": {
"wifi": [""],
"ethernet": ["🖧"],
"disconnected": ["disconnected"]
},
"on-click": "nm-connection-editor",
2020-06-14 02:27:51 +02:00
"on-click-right": "exec kitty nmtui",
2020-04-29 13:33:26 +02:00
"rotate": true,
"tooltip": false
},
2021-12-26 03:37:57 +01:00
"network#wireguard": {
"interface": "*wg*",
"format": "",
"format-wifi": "🐉",
2021-12-26 03:37:57 +01:00
"format-ethernet": "🐉",
"format-linked": "<span foreground='#ffbf00'>{ifname}:</span> (No IP)🐉",
"format-disconnected": "",
"format-alt": "<span foreground='#929292'>{ifname}:</span>{ipaddr}/{cidr}🐉",
2021-12-26 03:37:57 +01:00
"tooltip": false
},
2021-12-26 03:33:04 +01:00
"temperature": {
"format": "<span foreground='#929292'></span>{temperatureC}°C",
"thermal-zone": 2,
"critical-threshold": 53,
"format-critical": "<span foreground='#ff5c57'></span>{temperatureC}°C",
"interval": 10
},
2020-04-29 13:33:26 +02:00
"pulseaudio": {
2022-03-26 02:36:26 +01:00
"format": "{icon}{volume}% {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": "🔇 {icon} {format_source}",
"format-muted": "✖ {format_source}",
2022-03-26 02:36:26 +01:00
"format-source": "🎙{volume}%",
"format-source-muted": "",
2020-04-29 13:33:26 +02:00
"format-icons": {
2021-05-29 22:28:28 +02:00
"speaker": "💻",
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
2020-04-29 13:33:26 +02:00
"default": ["", "", ""]
},
"scroll-step": 1,
"on-click": "pavucontrol",
2021-05-29 22:28:28 +02:00
"on-click-right": "blueman-manager",
2020-04-29 13:33:26 +02:00
"tooltip": false
},
"custom/storage": {
2022-03-26 02:36:26 +01:00
"format": "{percentage}%",
"format-alt": "{}",
2020-04-29 13:33:26 +02:00
"format-alt-click": "click",
"return-type": "json",
"interval": 60,
"exec": "~/.config/waybar/modules/storage.sh"
},
"tray": {
"icon-size": 18
2022-03-26 02:37:08 +01:00
},
// vim: ft=json ff=unix noexpandtab
2020-04-29 13:33:26 +02:00
}