22 lines
843 B
Bash
22 lines
843 B
Bash
|
# Fetch installation script
|
||
|
wget -q https://raw.githubusercontent.com/GaZaTu/x11-emoji-picker/master/install.sh -O /tmp/install_EP.sh
|
||
|
|
||
|
# Remove the great emoji after the installation
|
||
|
sed -i 's/echo "$PROJECT_NAME installed! 🎉"/echo "$PROJECT_NAME installed!"/' /tmp/install_EP.sh
|
||
|
|
||
|
# Installation
|
||
|
bash /tmp/install_EP.sh
|
||
|
|
||
|
# Remove icon
|
||
|
if [ -f /usr/share/applications/x11-emoji-picker.desktop ]
|
||
|
then
|
||
|
sudo mv /usr/share/applications/x11-emoji-picker.desktop /usr/share/applications/x11-emoji-picker.desktop.bak
|
||
|
echo -e "\nEmoji Picker icon removed!"
|
||
|
fi
|
||
|
|
||
|
# Use custom configuration
|
||
|
rm $HOME/.config/gazatu.xyz/emoji-picker.ini 2>/dev/null
|
||
|
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/.config/gazatu.xyz/emoji-picker.ini -P $HOME/.config/gazatu.xyz/
|
||
|
|
||
|
echo -e "\nEmoji Picker configured! 🎉"
|