11.stylix/modules/waybar/testbeds/waybar.nix
awwpotato 52804c7c81
waybar: add testbed (#1712)
Link: https://github.com/nix-community/stylix/pull/1712

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-17 12:56:53 +02:00

41 lines
849 B
Nix

{ lib, ... }:
{
stylix.testbed.ui = {
graphicalEnvironment = "hyprland";
command.text = "waybar";
};
home-manager.sharedModules = lib.singleton {
programs.waybar = {
enable = true;
settings = lib.singleton {
modules-left = [
"hyprland/workspaces"
"hyprland/submap"
"custom/media"
];
modules-center = [
"hyprland/window"
];
modules-right = [
"mpd"
"idle_inhibitor"
"pulseaudio"
"network"
"power-profiles-daemon"
"cpu"
"memory"
"temperature"
"backlight"
"keyboard-state"
"hyprland/language"
"battery"
"battery#bat2"
"clock"
"tray"
"custom/power"
];
};
};
};
}