Changed: Waybar

This commit is contained in:
DerGrumpf 2025-04-06 22:45:18 +02:00
parent 5d4d46eeb3
commit 7fa4fc1ef5

View File

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