fcitx5-with-addons: symlink .desktop to autostart

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Potato Hatsue 2021-01-18 10:20:50 +08:00
parent 61615cc4ea
commit 9e58c856a0
No known key found for this signature in database
GPG Key ID: C4F93F1ED397E8CF

View File

@ -19,7 +19,7 @@ symlinkJoin {
rm $out/$autostart rm $out/$autostart
cp ${fcitx5}/$desktop $out/$desktop cp ${fcitx5}/$desktop $out/$desktop
sed -i $out/$desktop -e "s|^Exec=.*|Exec=$out/bin/fcitx5|g" sed -i $out/$desktop -e "s|^Exec=.*|Exec=$out/bin/fcitx5|g"
cp $out/$desktop $out/$autostart ln -s $out/$desktop $out/$autostart
''; '';
meta = fcitx5.meta; meta = fcitx5.meta;