Add a from-screen OCR thing
This commit is contained in:
parent
477c4116da
commit
23c7c53dc4
@ -190,6 +190,10 @@ in {
|
||||
script "screenshot-area-copy" ''
|
||||
${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" - | ${pkgs.wl-clipboard}/bin/wl-copy'';
|
||||
|
||||
"--release ${modifier}+Insert" =
|
||||
script "screenshot-ocr"
|
||||
"${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" - | ${pkgs.tesseract5}/bin/tesseract - - | ${pkgs.wl-clipboard}/bin/wl-copy";
|
||||
|
||||
"${modifier}+x" = "focus output right";
|
||||
"${modifier}+Shift+x" = "move workspace to output right";
|
||||
"${modifier}+Shift+h" = "layout splith";
|
||||
|
Loading…
Reference in New Issue
Block a user