style: initial waybar rice on callisto

This commit is contained in:
Youwen Wu 2024-08-07 07:48:46 -07:00
parent c2e287ec90
commit 6abc51f47a
2 changed files with 20 additions and 13 deletions

View file

@ -6,12 +6,12 @@
layer = "top"; layer = "top";
position = "top"; position = "top";
height = 24; height = 24;
width = 1000; # width = 1000;
reload-style-on-change = true; reload-style-on-change = true;
margin = "10px 0px 0px 0px"; margin = "5px 0px 0px 0px";
modules-left = [ "hyprland/window" "hyprland/workspaces" ]; modules-left = [ "hyprland/window" "hyprland/workspaces" "network" "clock" ];
modules-right = [ "backlight" "group/adjustable" "custom/weather" ]; modules-right = [ "group/hardware" "backlight" "group/adjustable" "custom/weather" ];
modules-center = [ "network" "group/hardware" "clock" ]; # modules-center = [ "network" "group/hardware" "clock" ];
"hyprland/workspaces" = { "hyprland/workspaces" = {
active-only = false; active-only = false;
all-outputs = false; all-outputs = false;
@ -23,7 +23,7 @@
}; };
"group/hardware" = { "group/hardware" = {
orientation = "inherit"; orientation = "inherit";
modules = [ "cpu" "memory" "battery" ]; modules = [ "cpu" "battery" ];
}; };
"group/adjustable" = { "group/adjustable" = {
orientation = "inherit"; orientation = "inherit";

View file

@ -1,5 +1,5 @@
* { * {
font-size: 10px; font-size: 12px;
} }
window#waybar { window#waybar {
@ -59,6 +59,10 @@ window#waybar {
border-top-right-radius: 0px; border-top-right-radius: 0px;
border-bottom-right-radius: 0px; border-bottom-right-radius: 0px;
} }
#network {
margin-left: 15px;
padding-right: 15px;
}
#mpris { #mpris {
padding-left: 0px; padding-left: 0px;
margin-left: 0px; margin-left: 0px;
@ -76,9 +80,9 @@ window#waybar {
#memory, #memory,
#cpu { #cpu {
padding-right: 2px; padding-right: 2px;
/* border-top-right-radius: 0px; */ border-top-right-radius: 0px;
/* border-bottom-right-radius: 0px; */ border-bottom-right-radius: 0px;
/* border-right-width: 0px; */ border-right-width: 0px;
} }
#memory, #memory,
#battery { #battery {
@ -88,14 +92,17 @@ window#waybar {
border-bottom-left-radius: 0px; border-bottom-left-radius: 0px;
border-left-width: 0px; border-left-width: 0px;
} }
#cpu {
margin-right: 0px;
}
#battery { #battery {
padding-right: 13px; padding-right: 13px;
} }
#custom-weather { #custom-weather {
margin-right: 0px; margin-right: 10px;
} }
#window { #window {
margin-right: 0px; margin-right: 10px;
margin-left: 0px; margin-left: 10px;
} }