Fix spacing

This commit is contained in:
Hadi
2024-05-09 13:33:18 +02:00
parent a26fbaa2c3
commit abfe7ca839
15 changed files with 172 additions and 91 deletions

View File

@@ -106,6 +106,7 @@ in {
"QT_QPA_PLATFORM=wayland,xcb"
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
"GTK_THEME,Flat-Remix-GTK-Violet-Darkest-Solid:dark"
# "GTK_THEME,Nixy-GTK"
# "HYPRCURSOR_THEME,rose-pine-hyprcursor"
# "HYPRCURSOR_SIZE,16"
];

View File

@@ -30,7 +30,7 @@
fade_on_empty = true
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
position = 0, 50
position = 0, 80
halign = center
valign = bottom
}

View File

@@ -9,11 +9,12 @@
syntaxHighlighting.enable = true;
historySubstringSearch.enable = true;
# If the variable config.theme.print-neofetch is set to true, neofetch will be printed
initExtraFirst = ''
bindkey -e
${if config.theme.print-neofetch then
${if config.theme.neofetch == "neofetch" then
pkgs.neofetch + "/bin/neofetch"
else if config.theme.neofetch == "nerdfetch" then
"nerdfetch"
else
""}
'';

View File

@@ -12,9 +12,12 @@
layer = "top";
position = "top";
spacing = 0;
"margin-top" = config.theme.gaps-out;
"margin-left" = config.theme.gaps-out;
"margin-right" = config.theme.gaps-out;
"margin-top" =
if config.theme.waybar.float then config.theme.gaps-out else 0;
"margin-left" =
if config.theme.waybar.float then config.theme.gaps-out else 0;
"margin-right" =
if config.theme.waybar.float then config.theme.gaps-out else 0;
height = 44;
modules-left = [ "custom/logo" "hyprland/window" ];
modules-center = [ "hyprland/workspaces" ];
@@ -129,19 +132,29 @@
window#waybar {
background-color: ${
if config.theme.waybar-transparent then
if config.theme.waybar.transparent then
"rgba(0, 0, 0, 0)"
else
"#${config.theme.colors.bg}"
};
transition-property: background-color;
transition-duration: 0.5s;
border-radius: ${toString config.theme.rounding}px;
border-radius: ${
if config.theme.waybar.float then
toString config.theme.rounding
else
"0"
}px;
font-size: 13px;
}
.modules-left, .modules-center, .modules-right {
border-radius: ${toString config.theme.rounding}px;
border-radius: ${
if config.theme.waybar.float then
toString config.theme.rounding
else
"0"
}px;
background-color: #${config.theme.colors.bg};
padding: 2px 6px;
}