added failglop and LC_ALL
This commit is contained in:
parent
88b0833a27
commit
eafdc2c98d
10 changed files with 33 additions and 10 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# docstring=do a screenshots on wayland compositors
|
||||
set -E -o pipefail
|
||||
shopt -s failglob
|
||||
export LC_ALL=C.UTF8
|
||||
|
||||
grim -g "$(slurp -o -r -c '#ff0000ff')" - | satty --filename - --fullscreen --output-filename ~/Media/Pictures/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue