diff --git a/home/packages/cli/wayland.nix b/home/packages/cli/wayland.nix index 3dbf6d9..7e3c31e 100644 --- a/home/packages/cli/wayland.nix +++ b/home/packages/cli/wayland.nix @@ -8,35 +8,7 @@ in { config = mkIf osConfig.myOptions.home-manager.wms.isWayland { home.packages = with pkgs; [ - 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' &2 echo "$MSG" - if [ "$NOTIFY" = "yes" ]; then - notify-send -a screenshot -u "$URGENCY" "Error ($ERR_CODE)" "$MSG" - fi - exit "$ERR_CODE" -} - -# Argument parsing - -SAVE_METHOD= -SAVE_FILE= -TARGET= -NOTIFY=no -CURSOR=no -EDIT=no -DELAY=0 - -while [ "${1-}" ]; do - case "$1" in - -h | --help) - >&2 cat <