packages.xclip: fix

This commit is contained in:
陈浩南 2024-02-22 21:08:12 +08:00
parent 8362b370e8
commit 1cd3a3ff39

View File

@ -17,7 +17,7 @@ inputs:
'' ''
#!${bash}/bin/bash #!${bash}/bin/bash
if [ "$XDG_SESSION_TYPE" = "x11" ]; then if [ "$XDG_SESSION_TYPE" = "x11" ]; then
exec ${xclip}/bin/xclip "$@" exec ${xclip}/bin/xclip "-sel clip $@"
else else
exec ${wl-clipboard-x11}/bin/xclip "$@" exec ${wl-clipboard-x11}/bin/xclip "$@"
fi fi