chore: remove picom again. makes everything slow :(

This commit is contained in:
oddlama 2023-10-01 14:03:42 +02:00
parent 61af9f62a5
commit 954d659264
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 2 additions and 29 deletions

View file

@ -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