[shot] hide cursor on screenshot
This commit is contained in:
parent
38e3917e37
commit
17492a7559
1 changed files with 2 additions and 2 deletions
4
bin/shot
4
bin/shot
|
@ -22,9 +22,9 @@ mkdir -p "$SCREEN_DIR"
|
|||
# Let's try to detect Wayland running
|
||||
if [ -z "$WAYLAND_DISPLAY" ]; then
|
||||
check_exists "maim"
|
||||
maim -s "$SCREEN_DIR/$NAME"
|
||||
maim --hidecursor --select "$SCREEN_DIR/$NAME"
|
||||
# Fail silently if xsel isn't installed, the clipboard feature isn't critical
|
||||
echo "$SCREEN_DIR/$NAME" | xsel -b -i > /dev/null 2>&1
|
||||
echo "$SCREEN_DIR/$NAME" | xsel --clipboard --input > /dev/null 2>&1
|
||||
else
|
||||
check_exists "grim"
|
||||
check_exists "slop"
|
||||
|
|
Loading…
Reference in a new issue