mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 04:18:45 +08:00
packages.xclip: fix
This commit is contained in:
parent
8362b370e8
commit
1cd3a3ff39
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user