wob: add testbed
This commit is contained in:
parent
ec5917d49a
commit
b28bc46f9d
1 changed files with 18 additions and 0 deletions
18
modules/wob/testbeds/wob.nix
Normal file
18
modules/wob/testbeds/wob.nix
Normal 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; };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue