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 = [
|
imports = [
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./waybar.nix
|
./waybar
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
./wofi.nix
|
./wofi.nix
|
||||||
./swaylock.nix
|
./swaylock.nix
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
Loading…
Reference in a new issue