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 = [ imports = [
./hyprland.nix ./hyprland.nix
./git.nix ./git.nix
./waybar.nix ./waybar
./dunst.nix ./dunst.nix
./wofi.nix ./wofi.nix
./swaylock.nix ./swaylock.nix

View file

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

View file

@ -10,7 +10,7 @@
* Keyframes * Keyframes
* -------------------------------------------------------------------------- */ * -------------------------------------------------------------------------- */
@keyframes blink-warning { @keyframes blink-warning {
70% { 70% {
color: white; color: white;
} }
@ -177,8 +177,8 @@
border-top: 2px solid transparent; border-top: 2px solid transparent;
/* To compensate for the top border and still have vertical centering */ /* To compensate for the top border and still have vertical centering */
padding-bottom: 2px; padding-bottom: 2px;
padding-left: 10px; padding-left: 3px;
padding-right: 10px; padding-right: 3px;
color: #888888; color: #888888;
} }