From 7fa4fc1ef5d627e6eb8bef519270af453a36d05e Mon Sep 17 00:00:00 2001
From: DerGrumpf
Date: Sun, 6 Apr 2025 22:45:18 +0200
Subject: [PATCH] Changed: Waybar
---
home/hyprland/waybar/single-monitor.nix | 40 ++++++++++++++++++++++---
1 file changed, 36 insertions(+), 4 deletions(-)
diff --git a/home/hyprland/waybar/single-monitor.nix b/home/hyprland/waybar/single-monitor.nix
index e8a34b8..cd2c032 100644
--- a/home/hyprland/waybar/single-monitor.nix
+++ b/home/hyprland/waybar/single-monitor.nix
@@ -18,23 +18,55 @@
"Virtual-1"
];
- modules-left = [ ];
- modules-center = [ "custom/weather" ];
+ modules-left = [
+ "custom/smallspacer"
+ "hyprland/workspaces"
+ "custom/spacer"
+ "mpris"
+ ];
+
+ modules-center = [
+ "custom/weather"
+ ];
+
modules-right = [ ];
+ # Widgets
"sway/workspaces" = {
disable-scroll = true;
all-outputs = true;
};
+
+ mpris = {
+ format = "{player_icon} {dynamic}";
+ format-paused = "{status_icon} {dynamic}";
+ max-length = 100;
+
+ player-icons = {
+ default = "⏸";
+ mpv = "🎵";
+ };
+ status-icons: {
+ paused = "▶";
+ };
+ };
+
+ "hyprland/workspaces" = {
+ format = "{icon}";
+ format-icons = {
+ default = "";
+ active = "";
+ };
+ };
+
+ # Custom Widgets
"custom/weather" = {
exec = "python3 ~/.config/waybar/weather.py waybar";
restart-interval = 900;
return-type = "json";
};
-
-
};
};
};