Initial Commit
This commit is contained in:
8
configuration/utils/screenshot
Executable file
8
configuration/utils/screenshot
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
if [ $1 == "--delayed" ]; then
|
||||
spectacle -b -n ${@:2} -o /tmp/screenshot.png ; xclip -selection clipboard -target image/png -i /tmp/screenshot.png ; paplay /usr/share/sounds/freedesktop/stereo/camera-shutter.oga
|
||||
else
|
||||
spectacle -b -n $@ -o /tmp/screenshot.png ; xclip -selection clipboard -target image/png -i /tmp/screenshot.png ; paplay /usr/share/sounds/freedesktop/stereo/camera-shutter.oga
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user