waybar: initial user config
All checks were successful
Check flake / build-amd64-linux (push) Successful in 3m28s

This commit is contained in:
Jordan Holt 2025-03-24 14:45:03 +00:00
parent 434588a1db
commit 74a2071e9a
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
3 changed files with 70 additions and 1 deletions

View File

@ -15,6 +15,7 @@ in
./hypridle.nix
./hyprlock.nix
./hyprpaper.nix
./waybar.nix
];
wayland.windowManager.hyprland = {
@ -203,7 +204,6 @@ in
dunst
kitty
mpv
waybar
wl-clipboard
];

View File

@ -0,0 +1,15 @@
* {
font-family: sans-serif;
}
window#waybar {
border-radius: 1em;
}
.modules-left {
margin-left: 10px;
}
.modules-right {
margin-right: 10px;
}

View File

@ -0,0 +1,54 @@
{
...
}:
{
programs.waybar = {
enable = true;
settings = [
{
layer = "top";
position = "top";
height = 30;
margin = "10 20 0 20";
spacing = 10;
modules-left = [
"hyprland/workspaces"
];
modules-center = [
"hyprland/window"
];
modules-right = [
"disk"
"cpu"
"memory"
"privacy"
"clock"
];
clock = {
format = "{:%I:%M %p}";
};
disk = {
format = "{free}";
path = "/";
};
privacy = {
modules = [
{
type = "screenshare";
}
{
type = "audio-in";
}
];
};
}
];
style = ./waybar.css;
systemd.enable = true;
};
}