Gen 383: waybar tweaks

This commit is contained in:
pagedMov
2024-10-11 21:19:04 -04:00
parent e6c4446710
commit c969646804
4 changed files with 30 additions and 23 deletions

8
flake.lock generated
View File

@@ -442,11 +442,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1728645556,
"narHash": "sha256-Nio2vUxaya04xlvY24sPTOWz+mmDwgRgrBSU4Vx485Y=",
"lastModified": 1728692991,
"narHash": "sha256-lPjl4phydWEjM3PUUqMkDbna/oxNnKJp6+I21TWtxbc=",
"ref": "refs/heads/main",
"rev": "7564b26b7d386d248eaa47c1a481c09eefd8e3ca",
"revCount": 5328,
"rev": "ee8116ac5dc412dce924a0163074ce7988dd0cfc",
"revCount": 5330,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"

View File

@@ -5,13 +5,14 @@
enable = true;
enableZshIntegration = false;
settings = {
add_newline = true;
# right_format = "";
format = lib.concatStrings [
"($username)(bold white)($cmd_duration)($character)$line_break"
"($git_branch)($git_status)$line_break"
"($directory)$line_break"
"[ ](bold #89b4fa)"
"($username)(bold white)($cmd_duration)($character)"
"($git_branch)($git_status)"
"($directory)"
"$line_break[ ](bold #89b4fa)"
];
@@ -21,7 +22,7 @@
format = "[$user]($style)";
};
directory = {
format = "[$path](bold cyan)[/](bold green) ";
format = "\n[$path](bold cyan)[/](bold green) ";
style = "bold #b4befe";
};
@@ -39,7 +40,7 @@
min_time_to_notify = 60000;
};
git_branch = {
format = "on [$symbol$branch](bold purple)";
format = "\non [$symbol$branch](bold purple)";
symbol = " ";
truncation_length = 15;
style = "bold purple";

View File

@@ -11,6 +11,7 @@
margin-right= 0;
modules-left= [
"custom/launcher"
"custom/separator"
"hyprland/workspaces"
];
modules-center= [
@@ -18,12 +19,15 @@
];
modules-right= [
"tray"
"custom/separator"
"cpu"
"memory"
"disk"
"custom/separator"
"pulseaudio"
"battery"
"network"
"custom/separator"
"custom/notification"
];
clock= {
@@ -136,5 +140,10 @@
on-click-right = "swaync-client -d -sw";
escape = true;
};
"custom/separator" = {
exec = "echo ' | '";
interval = 600;
tooltip = false;
};
};
}

View File

@@ -2,10 +2,10 @@
let custom = {
font = "JetBrainsMono Nerd Font";
font_size = "15px";
font_size = "22px";
font_weight = "bold";
text_color = "#cdd6f4";
secondary_accent= "#89b4fa";
secondary_accent = "#89b4fa";
tertiary_accent = "#f5f5f5";
background = "#11111B";
};
@@ -28,8 +28,7 @@ in
}
#workspaces {
font-size: 18px;
padding-left: 15px;
font-size: ${custom.font_size};
}
#workspaces button {
@@ -50,9 +49,8 @@ in
}
#cpu {
padding-left: 15px;
padding-left: 5px;
padding-right: 9px;
margin-left: 7px;
}
#memory {
padding-left: 9px;
@@ -60,18 +58,17 @@ in
}
#disk {
padding-left: 9px;
padding-right: 15px;
padding-right: 5px;
}
#tray {
padding: 0 20px;
margin-left: 7px;
padding-right: 5px;
}
#pulseaudio {
padding-left: 15px;
padding-left: 5px;
padding-right: 9px;
margin-left: 7px;
}
#battery {
padding-left: 9px;
@@ -79,11 +76,11 @@ in
}
#network {
padding-left: 9px;
padding-right: 30px;
padding-right: 5px;
}
custom-notification {
padding-left: 20px;
padding-left: 15px;
padding-right: 20px;
}
@@ -93,7 +90,7 @@ in
}
#custom-launcher {
font-size: 20px;
font-size: ${custom.font_size};
color: #b4befe;
font-weight: ${custom.font_weight};
padding-left: 10px;