Add waybar config

This commit is contained in:
armel committed 2026-01-18 19:45:18 +01:00
1 parent 230b58fcf1
commit a75bc98846
3 files changed
+32 -2

No files matched your search

+1
View File
@@ -15,6 +15,7 @@
./programs/firefox.nix ./programs/firefox.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
]; ];
-2
View File
@@ -6,8 +6,6 @@
bzmenu bzmenu
]; ];
programs.waybar.enable = true;
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
+31
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;
};
};
};
}