small laptop tweaks
This commit is contained in:
6 files changed
+67
-41
No files matched your search
@@ -61,5 +61,10 @@ in {
|
||||
gtk2.configLocation = "${config.xdg.configHome}/.gtkrc-2.0"; # prevents file conflicts between this and other parts of the nix config
|
||||
gtk2.force = true;
|
||||
};
|
||||
|
||||
xdg.desktopEntries.ocr = {
|
||||
name = "OCR image";
|
||||
exec = "${pkgs.writeScript "ocr" "${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" - | ${pkgs.tesseract}/bin/tesseract - - | ${pkgs.wl-clipboard}/bin/wl-copy"}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user