Closed 4j0x closed 2 weeks ago
Autostart from which window manager? Please post your waybar config. It must be something in the way the weather widget is started.
Autostart from hyprland
with the command waybar &
custom-weather.jsonc
{
"custom/weather": {
"exec": "wttrbar --fahrenheit --location Dallas",
"restart-interval": 300,
"tooltip": true,
"format": "{}°",
"return-type": "json",
"on-click": "kitty --hold --class center-float wttr Dallas",
"on-click-right": "kitty --hold --class center-float wttr -v2 Dallas",
"on-click-middle": "xdg-open https://wttr.in/Dallas?u"
}
}
bar-1.jsonc
{
"include": [
"~/.config/waybar/modules/custom-cava.jsonc",
"~/.config/waybar/modules/custom-wf-recorder.jsonc",
"~/.config/waybar/modules/custom-updates.jsonc",
"~/.config/waybar/modules/custom-music.jsonc",
"~/.config/waybar/modules/custom-logo.jsonc",
"~/.config/waybar/modules/custom-notifications.jsonc",
"~/.config/waybar/modules/custom-weather.jsonc",
"~/.config/waybar/modules/hyprland-language.jsonc",
"~/.config/waybar/modules/hyprland-workspaces.jsonc",
"~/.config/waybar/modules/clock-1.jsonc",
"~/.config/waybar/modules/pulseaudio.jsonc"
],
"modules-left": ["custom/arch", "hyprland/workspaces", "custom/cava"],
"modules-center": ["custom/music"],
"modules-right": [
"custom/weather",
"clock#cl1",
"pulseaudio",
"custom/notifications"
]
}
most likely an issue with wttr but not 100% sure
The screenshot shows me running waybar twice (once by the autostart on top and the 2nd by me manually in the terminal)
the commands run is
waybar
& both times no differenceWhen I run way waybar myself in terminal the logs do not show any errors or anything of note