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:
parent
8c854fe383
commit
0ba0ffe94c
1 changed files with 19 additions and 0 deletions
19
modules/wayprompt/testbeds/wayprompt.nix
Normal file
19
modules/wayprompt/testbeds/wayprompt.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue