From be90521dee5a883a645f4fa0ffb20128ef183bdc Mon Sep 17 00:00:00 2001
From: DerGrumpf
Date: Sun, 6 Apr 2025 22:19:50 +0200
Subject: [PATCH] Changed: Waybar Config
---
home/hyprland/waybar/{configs => }/config.jsonc | 0
home/hyprland/waybar/single-monitor.nix | 15 +++++++--------
2 files changed, 7 insertions(+), 8 deletions(-)
rename home/hyprland/waybar/{configs => }/config.jsonc (100%)
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;
};
}