Signed-off-by: Hadi <hadi@example.com>
This commit is contained in:
Hadi
2026-07-29 13:14:27 +02:00
parent 835114e5c9
commit 0d901aa10c
70 changed files with 206 additions and 374 deletions
+5 -1
View File
@@ -1,5 +1,6 @@
{
config,
lib,
pkgs,
networkScript,
bluetoothScript,
@@ -7,6 +8,7 @@
}: let
gaps-out = config.theme.gaps-out;
c = config.lib.stylix.colors;
hasBattery = config.var.hasBattery or false;
in {
programs.waybar.settings = [
{
@@ -14,7 +16,9 @@ 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" "battery"];
modules-center =
["custom/osd" "custom/osd-sep" "clock" "tray" "hyprland/workspaces" "custom/network" "custom/bluetooth"]
++ lib.optional hasBattery "battery";
# ── Modules ─────────────────────────────────────────────────────────