refactor: move waybar to module
This commit is contained in:
parent
1a04fd5bd0
commit
6747ddd9c9
3 changed files with 9 additions and 8 deletions
|
|
@ -28,7 +28,7 @@
|
|||
imports = [
|
||||
./hyprland.nix
|
||||
./git.nix
|
||||
./waybar.nix
|
||||
./waybar
|
||||
./dunst.nix
|
||||
./wofi.nix
|
||||
./swaylock.nix
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
* Keyframes
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
@keyframes blink-warning {
|
||||
@keyframes blink-warning {
|
||||
70% {
|
||||
color: white;
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue