mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 01:39:10 +08:00
packages.xclip: fix
This commit is contained in:
parent
8362b370e8
commit
1cd3a3ff39
@ -17,7 +17,7 @@ inputs:
|
||||
''
|
||||
#!${bash}/bin/bash
|
||||
if [ "$XDG_SESSION_TYPE" = "x11" ]; then
|
||||
exec ${xclip}/bin/xclip "$@"
|
||||
exec ${xclip}/bin/xclip "-sel clip $@"
|
||||
else
|
||||
exec ${wl-clipboard-x11}/bin/xclip "$@"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user