Signed-off-by: Hadi <hadi@example.com>
This commit is contained in:
Hadi
2026-07-31 13:00:40 +02:00
parent cd4971b30b
commit 00885e3213
10 changed files with 189 additions and 19 deletions
+1 -5
View File
@@ -8,7 +8,6 @@
}: let
gaps-out = config.theme.gaps-out;
c = config.lib.stylix.colors;
hasBattery = config.var.hasBattery or false;
in {
programs.waybar.settings = [
{
@@ -16,9 +15,7 @@ in {
position = "top";
height = config.theme.bar-height;
margin = "${toString gaps-out} ${toString gaps-out} 0";
modules-center =
["custom/osd" "custom/osd-sep" "clock" "tray" "hyprland/workspaces" "custom/network" "custom/bluetooth"]
++ lib.optional hasBattery "battery";
modules-center = ["custom/osd" "custom/osd-sep" "clock" "tray" "hyprland/workspaces" "custom/network" "custom/bluetooth" "battery"];
# ── Modules ─────────────────────────────────────────────────────────
@@ -34,7 +31,6 @@ in {
};
battery = {
bat = "BAT1";
interval = 20;
full-at = 100;
tooltip = true;