Make waybar smaller
This commit is contained in:
parent
8ba12511c5
commit
7c54820413
2 changed files with 15 additions and 38 deletions
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 5;
|
gaps_in = 5;
|
||||||
gaps_out = 10;
|
gaps_out = 6;
|
||||||
|
|
||||||
border_size = 2;
|
border_size = 2;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
mainBar = {
|
mainBar = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 26;
|
height = 20;
|
||||||
|
|
||||||
modules-left = [ "hyprland/workspaces" ];
|
modules-left = [ "hyprland/workspaces" ];
|
||||||
modules-center = [ "clock" ];
|
modules-center = [ "clock" ];
|
||||||
|
|
@ -27,31 +27,16 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"clock" = {
|
"clock" = {
|
||||||
# format = " {:%a %d %b %H:%M}";
|
|
||||||
format = " {:%H:%M:%S}";
|
format = " {:%H:%M:%S}";
|
||||||
tooltip-format = " {:%a, %d %b}";
|
tooltip-format = " {:%a, %d %b}";
|
||||||
interval = 1;
|
interval = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
"cpu" = {
|
"cpu" = { format = " {usage: >3}%"; };
|
||||||
format = " {usage: >3}%";
|
"memory" = { format = " {used:0.1f}G"; tooltip = false; };
|
||||||
};
|
"temperature" = { format = " {temperatureC}°C"; tooltip = false; };
|
||||||
|
|
||||||
"memory" = {
|
|
||||||
format = " {used:0.1f}G";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
"temperature" = {
|
|
||||||
format = " {temperatureC}°C";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
"battery" = {
|
"battery" = {
|
||||||
states = {
|
states = { warning = 30; critical = 15; };
|
||||||
warning = 30;
|
|
||||||
critical = 15;
|
|
||||||
};
|
|
||||||
format = "{icon} {capacity}%";
|
format = "{icon} {capacity}%";
|
||||||
format-icons = [ "" "" "" "" "" ];
|
format-icons = [ "" "" "" "" "" ];
|
||||||
};
|
};
|
||||||
|
|
@ -59,7 +44,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
style = ''
|
style = ''
|
||||||
/* Gruvbox palette */
|
|
||||||
@define-color bg #282828;
|
@define-color bg #282828;
|
||||||
@define-color bg1 #3c3836;
|
@define-color bg1 #3c3836;
|
||||||
@define-color fg #ebdbb2;
|
@define-color fg #ebdbb2;
|
||||||
|
|
@ -73,7 +57,7 @@
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "JetBrainsMono Nerd Font", monospace;
|
font-family: "JetBrainsMono Nerd Font", monospace;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
@ -86,7 +70,6 @@
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* All modules have boxy container */
|
|
||||||
#workspaces,
|
#workspaces,
|
||||||
#clock,
|
#clock,
|
||||||
#cpu,
|
#cpu,
|
||||||
|
|
@ -94,36 +77,29 @@
|
||||||
#temperature,
|
#temperature,
|
||||||
#battery {
|
#battery {
|
||||||
background-color: @bg1;
|
background-color: @bg1;
|
||||||
margin: 6px 4px; /* keep normal spacing between modules */
|
margin: 3px 2px;
|
||||||
padding: 4px 8px; /* module padding stays same */
|
padding: 2px 6px;
|
||||||
border: 2px solid @orange;
|
border: 2px solid @orange;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
margin-left: 10px
|
margin-left: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
margin-right: 10px
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Workspaces buttons */
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
color: @fg;
|
color: @fg;
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0 6px; /* normal spacing between workspace buttons */
|
padding: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.focused {
|
#workspaces button.focused { color: @yellow; background: none; }
|
||||||
color: @yellow;
|
#workspaces button:hover { color: @orange; }
|
||||||
background: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button:hover {
|
|
||||||
color: @orange;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock { color: @blue; }
|
#clock { color: @blue; }
|
||||||
#cpu { color: @green; }
|
#cpu { color: @green; }
|
||||||
|
|
@ -136,3 +112,4 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue