Gen 383: waybar tweaks
This commit is contained in:
8
flake.lock
generated
8
flake.lock
generated
@@ -442,11 +442,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728645556,
|
"lastModified": 1728692991,
|
||||||
"narHash": "sha256-Nio2vUxaya04xlvY24sPTOWz+mmDwgRgrBSU4Vx485Y=",
|
"narHash": "sha256-lPjl4phydWEjM3PUUqMkDbna/oxNnKJp6+I21TWtxbc=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "7564b26b7d386d248eaa47c1a481c09eefd8e3ca",
|
"rev": "ee8116ac5dc412dce924a0163074ce7988dd0cfc",
|
||||||
"revCount": 5328,
|
"revCount": 5330,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/hyprwm/Hyprland"
|
"url": "https://github.com/hyprwm/Hyprland"
|
||||||
|
|||||||
@@ -5,13 +5,14 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = false;
|
enableZshIntegration = false;
|
||||||
settings = {
|
settings = {
|
||||||
|
add_newline = true;
|
||||||
# right_format = "";
|
# right_format = "";
|
||||||
|
|
||||||
format = lib.concatStrings [
|
format = lib.concatStrings [
|
||||||
"($username)(bold white)($cmd_duration)($character)$line_break"
|
"($username)(bold white)($cmd_duration)($character)"
|
||||||
"($git_branch)($git_status)$line_break"
|
"($git_branch)($git_status)"
|
||||||
"($directory)$line_break"
|
"($directory)"
|
||||||
"[ ](bold #89b4fa)"
|
"$line_break[ ](bold #89b4fa)"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -21,7 +22,7 @@
|
|||||||
format = "[$user]($style)";
|
format = "[$user]($style)";
|
||||||
};
|
};
|
||||||
directory = {
|
directory = {
|
||||||
format = "[$path](bold cyan)[/](bold green) ";
|
format = "\n[$path](bold cyan)[/](bold green) ";
|
||||||
style = "bold #b4befe";
|
style = "bold #b4befe";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -39,7 +40,7 @@
|
|||||||
min_time_to_notify = 60000;
|
min_time_to_notify = 60000;
|
||||||
};
|
};
|
||||||
git_branch = {
|
git_branch = {
|
||||||
format = "on [$symbol$branch](bold purple)";
|
format = "\non [$symbol$branch](bold purple)";
|
||||||
symbol = " ";
|
symbol = " ";
|
||||||
truncation_length = 15;
|
truncation_length = 15;
|
||||||
style = "bold purple";
|
style = "bold purple";
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
margin-right= 0;
|
margin-right= 0;
|
||||||
modules-left= [
|
modules-left= [
|
||||||
"custom/launcher"
|
"custom/launcher"
|
||||||
|
"custom/separator"
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces"
|
||||||
];
|
];
|
||||||
modules-center= [
|
modules-center= [
|
||||||
@@ -18,12 +19,15 @@
|
|||||||
];
|
];
|
||||||
modules-right= [
|
modules-right= [
|
||||||
"tray"
|
"tray"
|
||||||
|
"custom/separator"
|
||||||
"cpu"
|
"cpu"
|
||||||
"memory"
|
"memory"
|
||||||
"disk"
|
"disk"
|
||||||
|
"custom/separator"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"battery"
|
"battery"
|
||||||
"network"
|
"network"
|
||||||
|
"custom/separator"
|
||||||
"custom/notification"
|
"custom/notification"
|
||||||
];
|
];
|
||||||
clock= {
|
clock= {
|
||||||
@@ -136,5 +140,10 @@
|
|||||||
on-click-right = "swaync-client -d -sw";
|
on-click-right = "swaync-client -d -sw";
|
||||||
escape = true;
|
escape = true;
|
||||||
};
|
};
|
||||||
|
"custom/separator" = {
|
||||||
|
exec = "echo ' | '";
|
||||||
|
interval = 600;
|
||||||
|
tooltip = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
let custom = {
|
let custom = {
|
||||||
font = "JetBrainsMono Nerd Font";
|
font = "JetBrainsMono Nerd Font";
|
||||||
font_size = "15px";
|
font_size = "22px";
|
||||||
font_weight = "bold";
|
font_weight = "bold";
|
||||||
text_color = "#cdd6f4";
|
text_color = "#cdd6f4";
|
||||||
secondary_accent= "#89b4fa";
|
secondary_accent = "#89b4fa";
|
||||||
tertiary_accent = "#f5f5f5";
|
tertiary_accent = "#f5f5f5";
|
||||||
background = "#11111B";
|
background = "#11111B";
|
||||||
};
|
};
|
||||||
@@ -28,8 +28,7 @@ in
|
|||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
font-size: 18px;
|
font-size: ${custom.font_size};
|
||||||
padding-left: 15px;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
@@ -50,9 +49,8 @@ in
|
|||||||
}
|
}
|
||||||
|
|
||||||
#cpu {
|
#cpu {
|
||||||
padding-left: 15px;
|
padding-left: 5px;
|
||||||
padding-right: 9px;
|
padding-right: 9px;
|
||||||
margin-left: 7px;
|
|
||||||
}
|
}
|
||||||
#memory {
|
#memory {
|
||||||
padding-left: 9px;
|
padding-left: 9px;
|
||||||
@@ -60,18 +58,17 @@ in
|
|||||||
}
|
}
|
||||||
#disk {
|
#disk {
|
||||||
padding-left: 9px;
|
padding-left: 9px;
|
||||||
padding-right: 15px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray {
|
#tray {
|
||||||
padding: 0 20px;
|
|
||||||
margin-left: 7px;
|
margin-left: 7px;
|
||||||
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
padding-left: 15px;
|
padding-left: 5px;
|
||||||
padding-right: 9px;
|
padding-right: 9px;
|
||||||
margin-left: 7px;
|
|
||||||
}
|
}
|
||||||
#battery {
|
#battery {
|
||||||
padding-left: 9px;
|
padding-left: 9px;
|
||||||
@@ -79,11 +76,11 @@ in
|
|||||||
}
|
}
|
||||||
#network {
|
#network {
|
||||||
padding-left: 9px;
|
padding-left: 9px;
|
||||||
padding-right: 30px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
custom-notification {
|
custom-notification {
|
||||||
padding-left: 20px;
|
padding-left: 15px;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -93,7 +90,7 @@ in
|
|||||||
}
|
}
|
||||||
|
|
||||||
#custom-launcher {
|
#custom-launcher {
|
||||||
font-size: 20px;
|
font-size: ${custom.font_size};
|
||||||
color: #b4befe;
|
color: #b4befe;
|
||||||
font-weight: ${custom.font_weight};
|
font-weight: ${custom.font_weight};
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
|
|||||||
Reference in New Issue
Block a user