Closed bodryj closed 2 years ago
Manjaro, KDE
Команда не найдена = Command not found
Decision:
# To use in i3 (or other X11-based environments)
sudo pacman -S --asdeps imagemagick slop xclip xdotool yad
# To use in Sway
sudo pacman -S --asdeps grim slurp wl-clipboard yad
While this technically isn't a bug, it would be nice if missing dependencies were caught earlier, so I'll go ahead and reopen this.
Something of a note to self:
It may not be possible for all required packages, but env-specific ones could likely be checked in parse_environment()
for things like xclip which is always required on X11.
Those packages that are only needed some of the time could be detected in parse_args()
while setting an option that requires them. If any packages are missing, Nextshot should show a hint along the lines of "Check required packages with nextshot -D
" before aborting.
The error occurs when you are asked to take a screenshot