From ad17ec6aa756851a6ac4fa137f5467257e67dc8e Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sun, 13 Oct 2024 20:02:59 +0200 Subject: [PATCH] feat: adds text grabbing from images etc --- modules/home/hyprland/config.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 72673dd..814012c 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -233,6 +233,7 @@ # screenshot "SUPER SHIFT, S, exec, grimblast --notify --cursor save area ~/Pictures/$(date +'%Y-%m-%d-At-%Ih%Mm%Ss').png" "$mainMod SHIFT, S, exec, grimblast --notify --cursor copy area" + "$mainMod SHIFT, G, exec, slurp | xargs -I {} grim -s 2 -t png -g {} - | tesseract - - | wl-copy -n" # switch focus "$mainMod, H, movefocus, l"