diff --git a/home/hyprland/waybar/configs/config.jsonc b/home/hyprland/waybar/config.jsonc similarity index 100% rename from home/hyprland/waybar/configs/config.jsonc rename to home/hyprland/waybar/config.jsonc diff --git a/home/hyprland/waybar/single-monitor.nix b/home/hyprland/waybar/single-monitor.nix index ce7da69..24a6a9e 100644 --- a/home/hyprland/waybar/single-monitor.nix +++ b/home/hyprland/waybar/single-monitor.nix @@ -27,11 +27,11 @@ all-outputs = true; }; - "custom/weather": { - exec: "python3 ~/.config/waybar/weather.py waybar"; - restart-interval: 900; - return-type: "json"; - }, + "custom/weather" = { + exec = "python3 ~/.config/waybar/weather.py waybar"; + restart-interval = 900; + return-type = "json"; + }; "custom/hello-from-waybar" = { format = "hello {}"; @@ -46,9 +46,8 @@ }; home.file.".config/waybar" = { - "weather.py".source = ./config/weather.py; - "style.css".source = ./config/style.css + source = ./configs; # copy the scripts directory recursively - #recursive = true; + recursive = true; }; }