Add waybar config
This commit is contained in:
1 parent
230b58fcf1
commit
a75bc98846
3 files changed
+32
-2
No files matched your search
@@ -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
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -6,8 +6,6 @@
|
|||||||
bzmenu
|
bzmenu
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.waybar.enable = true;
|
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user