164 current 2024-06-05 10:41:29 24.11.20240529.ad57eef 6.9.2-zen1 *

This commit is contained in:
sadan 2024-06-05 10:41:46 -04:00
parent be1f3f0b91
commit 8bbdb16908
No known key found for this signature in database
3 changed files with 14 additions and 8 deletions

View file

@ -1,6 +1,7 @@
{ config, lib, pkgs, inputs, ... }:
let
flameshot = import ../../common/programs/flameshot.nix {inherit config;};
_s1 = import ../../common/sops.nix { inherit config; };
files = import ../../common/files.nix { inherit config; };
shell = import ../../common/shell.nix { inherit config pkgs; };
@ -53,13 +54,7 @@ nixpkgs.config.allowInsecurePredicate = (pkg: true);
services = {
flameshot = {
enable = true;
settings.General.showDesktopNotification = false;
settings.General.startupLaunch = false;
# settings.Shortcuts.TYPE_IMAGEUPLOADER = "";
# settings.Shortcuts.TYPE_COPY = "Return";
};
inherit flameshot;
};
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release

View file

@ -127,7 +127,7 @@ in
set -euo pipefail
TEMP=$(mktemp)
flameshot gui -s -r > $TEMP
(tesseract $TEMP - --oem 1 -l eng | copy )|| copy "OCR RETUNRED NON-ZERO"
(tesseract $TEMP /dev/null --oem 1 -l eng | copy )|| copy "OCR RETUNRED NON-ZERO"
'')
];
wsl = with pkgs;[

View file

@ -0,0 +1,11 @@
{config}: {
enable = true;
settings = {
General = {
savePath="/home/${config.home.username}/ss/";
saveAsFileExtension=".png";
showDesktopNotification=false;
startupLaunch=true;
};
};
}