small laptop tweaks

This commit is contained in:
greyweather committed 2026-10-07 01:03:43 +01:00
1 parent 6d643646eb
commit 11c396e244
6 files changed
+67 -41

No files matched your search

+5
View File
@@ -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"}";
};
};
}