Merge pull request 'Add waybar config' (#10) from feature/waybar into master

Reviewed-on: #10
This commit is contained in:
2026-01-21 09:49:13 +01:00
3 changed files with 32 additions and 2 deletions

View File

@@ -16,6 +16,7 @@
./wm/cursor.nix ./wm/cursor.nix
./wm/dconf.nix ./wm/dconf.nix
./wm/gtk.nix ./wm/gtk.nix
./wm/waybar.nix
./wm/hyprland.nix ./wm/hyprland.nix
./wm/hyprpaper.nix ./wm/hyprpaper.nix
]; ];

View File

@@ -6,8 +6,6 @@
bzmenu bzmenu
]; ];
programs.waybar.enable = true;
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;

31
wm/waybar.nix Normal file
View File

@@ -0,0 +1,31 @@
{ pkgs, ... }:
{
programs.waybar = {
enable = true;
settings.mainBar = {
layer = "top";
position = "top";
height = 30;
modules-left = [
"hyprland/workspaces"
];
modules-right = [
"cpu"
"clock"
];
cpu = {
format = "{usage}% ";
tooltip = false;
};
clock = {
tooltip = false;
};
};
};
}