wob: add testbed

This commit is contained in:
Lyndon Sanche 2026-05-13 01:08:46 -06:00
parent ec5917d49a
commit b28bc46f9d
No known key found for this signature in database

View file

@ -0,0 +1,18 @@
{ lib, pkgs, ... }:
{
stylix.testbed.ui = {
graphicalEnvironment = "hyprland";
command.text = lib.getExe (
pkgs.writeShellScriptBin "wob-invoker" ''
while true; do
for percent in {0..200}; do
echo "$percent" >"$XDG_RUNTIME_DIR/wob.sock"
sleep 0.05
done
done
''
);
};
home-manager.sharedModules = lib.singleton { services.wob.enable = true; };
}