diff --git a/modules/wayprompt/testbeds/wayprompt.nix b/modules/wayprompt/testbeds/wayprompt.nix new file mode 100644 index 00000000..c3067a76 --- /dev/null +++ b/modules/wayprompt/testbeds/wayprompt.nix @@ -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; + }; +}