dotfiles/.config/waybar/config

111 lines
2.6 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-06-12 10:49:25 +02:00
"modules-right": ["tray", "pulseaudio", "network", "custom/storage", "memory", "cpu", "backlight", "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
},
"memory": {
"interval": 5,
2020-05-27 12:14:20 +02:00
"format": "{}% ",
"on-click": "exec alacritty -e ytop"
},
"cpu": {
"interval": 5,
"format": "{usage:2}% "
},
2021-05-29 22:22:05 +02:00
"backlight": {
"interval": 10,
"device": "acpi_video1",
"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": {
"format-wifi": "{icon} {essid} ({signalStrength}%) ",
"format-ethernet": "{icon} {ifname}: {ipaddr}/{cidr}",
"format-linked": "{ifname} (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
},
"pulseaudio": {
"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": "",
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": {
"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
}
}