Skip to content
Snippets Groups Projects
Unverified Commit 9e5cfaff authored by Varac's avatar Varac
Browse files

waybar: add custom additions

parent aafa1e3a
Branches
No related tags found
No related merge requests found
// vim: ft=jsonc
// https://github.com/Alexays/Waybar/wiki/Configuration
{
"include": [ "./config" ],
// Override existing modules
// Disable chatgpt
"group/links": {
"orientation": "horizontal",
"modules": [
// "custom/chatgpt",
"custom/empty"
]
},
// Custom modules
// https://github.com/Alexays/Waybar/wiki/Module:-Custom
"custom/timewarrior": {
"interval": 60,
"format": "{icon} {0} ",
"format-icons": "⏰",
"exec": "/home/varac/bin/custom/timewarrior-status.sh",
"exec-if": "test -f /usr/sbin/timew"
},
"custom/alertmanager": {
"return-type": "json",
"interval": 60,
"format": "{icon} {0}",
"format-icons": {
"firing": "🔥",
"snafu": "🟢",
"error": "🚫"
},
"exec": "/bin/bash -c 'cd /home/varac/projects/monitoring/alertmanager/alertmanager_status/ && . ./.venv/bin/activate && ./alertmanager_status.py'",
"exec-if": "test -d /home/varac/projects/monitoring/alertmanager/alertmanager_status/",
"signal": 21,
"on-click": "pkill -RTMIN+21 waybar",
"on-click-right": "xdg-open $(yq .url < ~/.config/alertmanager_status/config.yml)"
},
// Modules Left
"modules-left": [
"custom/appmenu",
"hyprland/workspaces",
"group/links",
// "wlr/taskbar",
"group/quicklinks",
"custom/empty",
"custom/timewarrior",
"custom/alertmanager"
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment