wayprompt: add testbed (#1708)

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

Reviewed-by: pancho horrillo <pancho@pancho.name>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
$__NUKDOKPLEX 2025-07-16 21:40:57 +05:00 committed by GitHub
parent 8c854fe383
commit 0ba0ffe94c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,19 @@
{ lib, ... }:
{
stylix.testbed = {
ui.graphicalEnvironment = "hyprland";
ui.command.text = ''
wayprompt \
--get-pin \
--title "Wayprompt stylix test" \
--description "Lorem ipsum dolor sit amet, consectetur adipiscing elit." \
--button-ok "Okay" \
--button-not-ok "Not okay" \
--button-cancel "Cancel"
'';
};
home-manager.sharedModules = lib.singleton {
programs.wayprompt.enable = true;
};
}