diff --git a/home/dot_config/ml4w-custom-dotfiles/dot_config/waybar/themes/ml4w-modern/config-custom b/home/dot_config/ml4w-custom-dotfiles/dot_config/waybar/themes/ml4w-modern/config-custom new file mode 100644 index 0000000000000000000000000000000000000000..427b5f8e341168700c29431967864f73413d882d --- /dev/null +++ b/home/dot_config/ml4w-custom-dotfiles/dot_config/waybar/themes/ml4w-modern/config-custom @@ -0,0 +1,52 @@ +// 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" + ] +}