We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81c4bdd commit 983db4fCopy full SHA for 983db4f
usr/bin/i3-maim
@@ -18,7 +18,12 @@ if ! [ -d $maim_dir ]; then
18
fi
19
20
if ! [ -z $xclip_cmd ]; then
21
- clip="xclip -selection clipboard -t image/png $maim_dir/$_name.png"
+ check="pacman -Qs xclip"
22
+ if [ -n "$check" ]; then
23
+ clip="xclip -selection clipboard -t image/png $maim_dir/$_name.png"
24
+ else
25
+ clip=""
26
+ fi
27
else
28
clip=""
29
0 commit comments