2020-04-29 13:33:26 +02:00
|
|
|
{
|
2020-05-25 22:55:48 +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"],
|
2023-02-21 20:16:32 +01:00
|
|
|
"modules-right": ["tray", "pulseaudio", "network", "network#wireguard", "temperature", "custom/storage", "memory", "cpu", "backlight", "keyboard-state", "sway/language", "battery", "clock#date", "clock#time"],
|
2020-04-29 13:33:26 +02:00
|
|
|
"sway/workspaces": {
|
2021-06-14 11:42:59 +02:00
|
|
|
"all-outputs": false,
|
2020-04-29 13:33:26 +02:00
|
|
|
"format": "{name}",
|
2020-05-25 22:55:48 +02:00
|
|
|
"disable-scroll": true,
|
|
|
|
"disable-markup" : false
|
2020-04-29 13:33:26 +02:00
|
|
|
},
|
2023-02-21 20:16:32 +01:00
|
|
|
"keyboard-state": {
|
|
|
|
"numlock": true,
|
|
|
|
"capslock": true,
|
|
|
|
"format": "{name} {icon}",
|
|
|
|
"format-icons": {
|
|
|
|
"locked": "",
|
|
|
|
"unlocked": ""
|
|
|
|
}
|
|
|
|
},
|
2020-04-29 13:33:26 +02:00
|
|
|
"sway/mode": {
|
|
|
|
"format": "<span style=\"italic\">{}</span>", // Icon: expand-arrows-alt
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
"sway/window": {
|
2020-05-25 22:55:48 +02:00
|
|
|
"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} ",
|
2021-05-29 22:23:47 +02:00
|
|
|
"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
|
|
|
|
},
|
2020-05-25 22:55:48 +02:00
|
|
|
"memory": {
|
|
|
|
"interval": 5,
|
2022-03-26 02:36:26 +01:00
|
|
|
"format": "{}%",
|
2022-03-26 15:36:00 +01:00
|
|
|
"states": {
|
|
|
|
"warning": 70,
|
|
|
|
"critical": 90
|
|
|
|
},
|
2023-02-21 20:46:11 +01:00
|
|
|
"on-click": "exec alacritty -e btop"
|
2020-05-25 22:55:48 +02:00
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"interval": 5,
|
2022-03-26 15:36:00 +01:00
|
|
|
"format": "{usage:2}%",
|
|
|
|
"states": {
|
|
|
|
"warning": 70,
|
|
|
|
"critical": 90
|
|
|
|
}
|
2020-05-25 22:55:48 +02:00
|
|
|
},
|
2021-05-29 22:22:05 +02:00
|
|
|
"backlight": {
|
2021-06-12 10:51:27 +02:00
|
|
|
"interval": 10,
|
|
|
|
"device": "acpi_video1",
|
2022-03-26 02:36:26 +01:00
|
|
|
"format": "{percent}%{icon}",
|
2021-06-12 10:51:27 +02:00
|
|
|
"format-icons": ["☁️", "🌥️", "⛅", "☀️"]
|
2021-05-29 22:22:05 +02:00
|
|
|
},
|
2020-04-29 13:33:26 +02:00
|
|
|
"battery": {
|
2023-02-21 20:48:39 +01:00
|
|
|
"format": "{capacity}%{icon}",
|
|
|
|
"format-alt": "{time}{icon}",
|
|
|
|
"format-icons": ["", "", "", "", ""],
|
|
|
|
"format-charging": "~{capacity}%",
|
|
|
|
"format-plugged": "🔌{capacity}%",
|
|
|
|
"interval": 30,
|
|
|
|
"states": {
|
|
|
|
"good": 85,
|
|
|
|
"warning": 30,
|
|
|
|
"critical": 15
|
|
|
|
},
|
|
|
|
"tooltip": true
|
2020-04-29 13:33:26 +02:00
|
|
|
},
|
|
|
|
"network": {
|
2023-02-21 20:49:27 +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)",
|
|
|
|
"format-icons": {
|
|
|
|
"wifi": [""],
|
|
|
|
"ethernet": [""],
|
|
|
|
"disconnected": ["disconnected"]
|
|
|
|
},
|
|
|
|
"on-click": "nm-connection-editor",
|
|
|
|
"on-click-right": "exec kitty nmtui",
|
|
|
|
"rotate": true,
|
|
|
|
"tooltip": false
|
2020-04-29 13:33:26 +02:00
|
|
|
},
|
2021-12-26 03:37:57 +01:00
|
|
|
"network#wireguard": {
|
|
|
|
"interface": "*wg*",
|
2022-03-26 02:32:54 +01:00
|
|
|
"format": "",
|
|
|
|
"format-wifi": "🐉",
|
2021-12-26 03:37:57 +01:00
|
|
|
"format-ethernet": "🐉",
|
|
|
|
"format-linked": "<span foreground='#ffbf00'>{ifname}:</span> (No IP)🐉",
|
|
|
|
"format-disconnected": "",
|
2022-03-26 02:32:54 +01:00
|
|
|
"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": {
|
2023-02-21 20:49:42 +01:00
|
|
|
"thermal-zone": 1,
|
|
|
|
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
|
|
|
"critical-threshold": 80,
|
|
|
|
"format-critical": "{icon}{temperatureC}°C",
|
|
|
|
"format": "{icon}{temperatureC}°C",
|
|
|
|
"format-icons": ["", ""]
|
2021-12-26 03:33:04 +01:00
|
|
|
},
|
2020-04-29 13:33:26 +02:00
|
|
|
"pulseaudio": {
|
2023-02-21 20:50:25 +01:00
|
|
|
"format": "{icon}{volume}% {format_source}",
|
|
|
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
|
|
|
"format-bluetooth-muted": " {icon} {format_source}",
|
|
|
|
// "format-muted": "✖ {format_source}",
|
|
|
|
"format-muted": " {format_source}",
|
|
|
|
"format-source": "{volume}%",
|
|
|
|
"format-source-muted": "",
|
|
|
|
"format-icons": {
|
|
|
|
"speaker": "💻",
|
|
|
|
"headphone": "",
|
|
|
|
"hands-free": "",
|
|
|
|
"headset": "",
|
|
|
|
"phone": "",
|
|
|
|
"portable": "",
|
|
|
|
"car": "",
|
|
|
|
"default": ["", "", ""]
|
|
|
|
},
|
|
|
|
"scroll-step": 1,
|
|
|
|
"on-click": "pavucontrol",
|
|
|
|
"on-click-right": "blueman-manager",
|
|
|
|
"tooltip": false
|
2020-04-29 13:33:26 +02:00
|
|
|
},
|
|
|
|
"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
|
|
|
}
|