Added instalation of app indicator dropdown for Wing Panel
This commit is contained in:
37
namarupa.sh
Executable file
37
namarupa.sh
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user