mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-10 02:04:21 +02:00
Revert "screenshot: "freeze" screen before screenshot"
This reverts commit 1ff1f29f5d
. This
works, but then, I cannot just select a window.
This commit is contained in:
parent
1ff1f29f5d
commit
4ff0fea900
2 changed files with 0 additions and 7 deletions
|
@ -10,14 +10,8 @@ case $1 in
|
|||
echo -n $target | xclip -selection clipboard
|
||||
;;
|
||||
window)
|
||||
target=/dev/shm/screenshot.png
|
||||
maim -u $target
|
||||
nsxiv -N nsxiv-screenshot --anti-alias=no -b /dev/shm/screenshot.png &
|
||||
nsxiv_pid=$!
|
||||
maim -u -s -b 5 -l -c 0.3,0.4,0.6,0.4 -d 0.1 \
|
||||
| xclip -selection clipboard -t image/png
|
||||
kill "$nsxiv_pid"
|
||||
# rm -f $target
|
||||
notify-send -i camera-photo "Screenshot" "Saved to clipboard"
|
||||
;;
|
||||
ocr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue