forked from mirrors_public/oddlama_nix-config
chore: remove picom again. makes everything slow :(
This commit is contained in:
parent
61af9f62a5
commit
954d659264
4 changed files with 2 additions and 29 deletions
|
@ -59,7 +59,7 @@ in {
|
|||
out="/tmp/screenshots.$UID/$(date +"%Y-%m-%dT%H:%M:%S%:z")-selection.png"
|
||||
mkdir -p "$(dirname "$out")"
|
||||
|
||||
${pkgs.maim}/bin/maim --color=.4,.7,1 --bordersize=1.0 --nodecorations=1 --hidecursor --format=png --quality=10 --noopengl --select "$out"
|
||||
${pkgs.maim}/bin/maim --color=.4,.7,1,0.2 --bordersize=1.0 --nodecorations=1 --hidecursor --format=png --quality=10 --noopengl --select "$out"
|
||||
notification_id=$(${pkgs.libnotify}/bin/notify-send --icon="$out" --print-id --app-name "screenshot-area" "Screenshot Captured" "📋 copied to clipboard\n⌛ Running OCR...")
|
||||
${pkgs.xclip}/bin/xclip -selection clipboard -t image/png < "$out"
|
||||
if ${pkgs.tesseract}/bin/tesseract "$out" - -l eng+deu | ${pkgs.xclip}/bin/xclip -selection primary; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue