changes
This commit is contained in:
13
hosts/main/bin/screenshot
Executable file
13
hosts/main/bin/screenshot
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
geometry=$(slurp -c "#ff0000ff")
|
||||
|
||||
if [[ "$?" != "0" ]]
|
||||
then
|
||||
pkill wayfreeze || true
|
||||
exit
|
||||
fi
|
||||
|
||||
grim -g "$geometry" -t ppm - | nixGL satty --filename - --copy-command=wl-copy --early-exit &
|
||||
|
||||
pkill wayfreeze || true
|
||||
Reference in New Issue
Block a user