38 lines
736 B
Bash
Executable File
38 lines
736 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
baseDir="$(realpath "$(dirname "${0}")")"
|
|
|
|
source \
|
|
/etc/os-release
|
|
source \
|
|
"${baseDir}/system.conf"
|
|
|
|
|
|
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
|