Move waybar back to top of screen

This commit is contained in:
Evie Litherland-Smith 2024-03-11 11:16:35 +00:00
parent 720a736b0c
commit 23ffa2b28b

View file

@ -16,7 +16,7 @@
}; };
settings.main = { settings.main = {
layer = "top"; layer = "top";
position = "bottom"; position = "top";
# Layout # Layout
"modules-left" = ["hyprland/window" "mpris"]; "modules-left" = ["hyprland/window" "mpris"];
"modules-center" = ["hyprland/workspaces"]; "modules-center" = ["hyprland/workspaces"];
@ -211,7 +211,7 @@
custom-indicator = "{ICON}{temp_C}({FeelsLikeC})"; custom-indicator = "{ICON}{temp_C}({FeelsLikeC})";
in { in {
"format" = "{}°"; "format" = "{}°";
"tooltip" = false; "tooltip" = true;
"interval" = 900; # Every 15 minutes "interval" = 900; # Every 15 minutes
"exec" = ''${pkgs.wttrbar}/bin/wttrbar --location Didcot --date-format "${date-format}" --custom-indicator "${custom-indicator}"''; "exec" = ''${pkgs.wttrbar}/bin/wttrbar --location Didcot --date-format "${date-format}" --custom-indicator "${custom-indicator}"'';
"return-type" = "json"; "return-type" = "json";
@ -239,7 +239,7 @@
window > box { window > box {
color: ${base05}; color: ${base05};
background: alpha(${base00}, ${toString opacity.desktop}); background: alpha(${base00}, ${toString opacity.desktop});
margin: 0px 10px 5px; margin: 5px 10px 0px;
padding: 0px; padding: 0px;
border: 1px solid ${accent}; border: 1px solid ${accent};
border-radius: 10px; border-radius: 10px;