Moved installing 'wingpanel-indicator-namarupa' into 'elementary.sh'

This commit is contained in:
2025-12-31 23:25:45 -05:00
parent 9a32510698
commit 3e7a7a5788
3 changed files with 28 additions and 38 deletions

View File

@@ -153,4 +153,31 @@ elif [[ "${1}" == '--desktop' ]]; then
install \
--yes \
elementary-desktop
elif [[ "${1}" == '--namarupa' ]]; then
curl \
--progress \
--location \
--remote-name \
--continue-at - \
--output-dir '/tmp' \
'https://github.com/lenemter/wingpanel-indicator-namarupa/raw/main/com.github.lenemter.wingpanel-indicator-namarupa.deb'
apt \
--update \
install \
--yes \
'/tmp/com.github.lenemter.wingpanel-indicator-namarupa.deb'
mkdir \
-p \
/home/${username}/.config/autostart
cp \
/etc/xdg/autostart/indicator-application.desktop \
/home/${username}/.config/autostart/
sed \
-i \
's/^OnlyShowIn.*/OnlyShowIn=Unity;GNOME;Pantheon;/' \
/home/${username}/.config/autostart/indicator-application.desktop
fi