Closed cosme-benito closed 3 months ago
If you write it this way, it looks fine.
file=$HOME/Pictures/screenshots/swappy-$(date +%Y%m%d-%H%M%S).png
grim -g "$(slurp)" - | swappy -f - -o $file
Turns out the problem was completely unrelated to swappy. My $XDG_DATA_DIRS
was broken and unsetting it solved the problem.
When running the command
grim -g "$(slurp)" - | swappy -f -
I get the error:I thought it was some permission error or something so I created the file
$HOME/.config/swappy.config
with the contents:Unfortunately this does not solve the problem, the configuration is likely being ignored. This used to work, maybe some dependency is broken/missing?
swappy-git
from the AUR produces the same errorwl-clipboard
,otf-font-awesome
andwayland-protocols
are installed