Changed: Waybar
This commit is contained in:
parent
5d4d46eeb3
commit
7fa4fc1ef5
@ -18,23 +18,55 @@
|
|||||||
"Virtual-1"
|
"Virtual-1"
|
||||||
];
|
];
|
||||||
|
|
||||||
modules-left = [ ];
|
modules-left = [
|
||||||
modules-center = [ "custom/weather" ];
|
"custom/smallspacer"
|
||||||
|
"hyprland/workspaces"
|
||||||
|
"custom/spacer"
|
||||||
|
"mpris"
|
||||||
|
];
|
||||||
|
|
||||||
|
modules-center = [
|
||||||
|
"custom/weather"
|
||||||
|
];
|
||||||
|
|
||||||
modules-right = [ ];
|
modules-right = [ ];
|
||||||
|
|
||||||
|
# Widgets
|
||||||
"sway/workspaces" = {
|
"sway/workspaces" = {
|
||||||
disable-scroll = true;
|
disable-scroll = true;
|
||||||
all-outputs = 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" = {
|
"custom/weather" = {
|
||||||
exec = "python3 ~/.config/waybar/weather.py waybar";
|
exec = "python3 ~/.config/waybar/weather.py waybar";
|
||||||
restart-interval = 900;
|
restart-interval = 900;
|
||||||
return-type = "json";
|
return-type = "json";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user