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"; }; - - }; }; };