Changed: Waybar
This commit is contained in:
		@@ -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 = "<span color='grey'>{status_icon} {dynamic}</span>";
 | 
			
		||||
                    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";
 | 
			
		||||
                };
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
            };
 | 
			
		||||
        };
 | 
			
		||||
    };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user