waybar: add testbed (#1712)

Link: https://github.com/nix-community/stylix/pull/1712

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
awwpotato 2025-07-17 03:56:53 -07:00 committed by GitHub
parent 0ba0ffe94c
commit 52804c7c81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,41 @@
{ 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"
];
};
};
};
}