.
This commit is contained in:
parent
4355e83743
commit
5023b32942
11 changed files with 155 additions and 103 deletions
10
files/.local/bin/screenshot
Executable file
10
files/.local/bin/screenshot
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
# takes a screenshot of the selected region
|
||||
# and saves it to the clipboard
|
||||
# requires: scrot xclip
|
||||
set -e
|
||||
|
||||
output="${HOME}/ss.png"
|
||||
rm -f "${output}"
|
||||
scrot -s -p -F "${output}"
|
||||
xclip "${output}" -t image/png -selection clipboard
|
||||
Loading…
Add table
Add a link
Reference in a new issue