switch to waybar

This commit is contained in:
Chris Cochrun 2025-07-08 09:37:00 -05:00
parent 94acf3aa56
commit 6f96122b83
2 changed files with 24 additions and 13 deletions

View file

@ -666,15 +666,15 @@ in {
height = 15;
width = if laptop then 1400 else 3000;
# Choose the order of the modules "custom/wintitle",
modules-left = [ "hyprland/window" ];
modules-center = [ "hyprland/workspaces" ];
modules-left = [ "hyprland/workspaces" "hyprland/window" ];
modules-center = [ "clock" ];
modules-right =
[ "pulseaudio" "backlight" "battery" "tray" "clock" ];
[ "cpu" "memory" "pulseaudio" "backlight" "battery" "tray" ];
margin-top = if laptop then -5 else 5;
margin-bottom = if laptop then 4 else 0;
margin-left = 6;
margin-right = 6;
"hyprland/window" = { format = " <span style='italic'>{}</span>"; };
"hyprland/window" = { format = "<span style='italic'>{title}</span>"; icon = true; };
workspaces = { format = " {name} "; };
"hyprland/workspaces" = {
format = "{icon}";
@ -702,7 +702,7 @@ in {
<big>{:%Y %B}</big>
<tt><small>{calendar}</small></tt>'';
format-alt = "{:%Y-%m-%d}";
format = "{:%a %b %e, %I:%M %p}";
format = "{:%b %e, %I:%M %p}";
};
cpu = { format = " {usage}%"; on-click = "alacritty --class btop -e btop"; };
memory = { format = " {}%"; on-click = "alacritty --class btop -e btop"; };
@ -723,7 +723,7 @@ in {
};
backlight = {
# "device": "acpi_video1",
format = "{icon} {PERCENT}%";
format = "{icon} {PERCENT}%";
format-icons = [ "" "" ];
};
disk = {
@ -820,6 +820,17 @@ in {
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
margin-right: 50px;
background: @backtransparent;
box-shadow: 5px 5px 4px 4px #202020;
border-radius: 20px;
}
.modules-center {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 2px;
background: @backtransparent;
box-shadow: 5px 5px 4px 4px #202020;
border-radius: 20px;
@ -940,7 +951,7 @@ in {
#pulseaudio {
padding-left: 5px;
padding-right: 5px;
padding-right: 0px;
border-radius: 20px;
transition: none;
color: @base0A;
@ -975,8 +986,8 @@ in {
}
#battery {
padding-left: 5px;
padding-right: 5px;
padding-left: 0px;
padding-right: 0px;
border-radius: 20px;
transition: none;
color: @base0D;