diff --git a/home/packages/cli/wayland.nix b/home/packages/cli/wayland.nix index 7e3c31e..3dbf6d9 100644 --- a/home/packages/cli/wayland.nix +++ b/home/packages/cli/wayland.nix @@ -8,7 +8,35 @@ in { config = mkIf osConfig.myOptions.home-manager.wms.isWayland { home.packages = with pkgs; [ - wl-clipboard + wl-clipboard # clipboard interactions + grim # grab images + slurp # select a region + wf-recorder # screen recording + + # Grabs text from screenshot image + (pkgs.writeShellApplication { + name = "ocr"; + runtimeInputs = with pkgs; [tesseract grim slurp coreutils]; + text = '' + echo "Generating a random ID..." + id=$(tr -dc 'a-zA-Z0-9'