refactor: move waybar to module

This commit is contained in:
EinEtwas 2024-10-15 11:17:28 +02:00
parent 1a04fd5bd0
commit 6747ddd9c9
3 changed files with 9 additions and 8 deletions

View file

@ -28,7 +28,7 @@
imports = [
./hyprland.nix
./git.nix
./waybar.nix
./waybar
./dunst.nix
./wofi.nix
./swaylock.nix

View file

@ -15,9 +15,9 @@
"eDP-1"
];
modules-left = ["hyprland/workspaces" "hyprland/mode" "cpu" "memory"];
modules-left = ["hyprland/workspaces" "hyprland/mode"];
modules-center = [];
modules-right = ["pulseaudio" "backlight" "network" "battery" "clock"];
modules-right = ["pulseaudio" "backlight" "network" "battery" "clock" "tray"];
cpu = {
@ -78,8 +78,9 @@
"format-alt" = "{:%a, %d. %b %H:%M}";
};
tray = {
"spacing" = 7;
};
};
};
};

View file

@ -177,8 +177,8 @@
border-top: 2px solid transparent;
/* To compensate for the top border and still have vertical centering */
padding-bottom: 2px;
padding-left: 10px;
padding-right: 10px;
padding-left: 3px;
padding-right: 3px;
color: #888888;
}