|
|
@ -61,7 +61,7 @@ REQUIRED_PACKAGES=( |
|
|
|
## MAIN |
|
|
|
## --------- |
|
|
|
|
|
|
|
[ $(id -u) -eq 0 ] && echo 'normal user required' && exit -1 |
|
|
|
[ "$(id -u)" -eq 0 ] && echo 'normal user required' && exit 1 |
|
|
|
|
|
|
|
echo "# configure apt sources to the mithril's" |
|
|
|
echo "========================================" |
|
|
@ -127,12 +127,23 @@ else |
|
|
|
echo "${PGKNAME} already installed!" |
|
|
|
fi |
|
|
|
|
|
|
|
firefox_lang=$(echo $LANG | cut -d_ -f1) |
|
|
|
[[ $firefox_lang == "en" ]] && firefox_lang="en-US" |
|
|
|
echo $firefox_lang |
|
|
|
echo "## grub faster and smarter" |
|
|
|
echo "==========================" |
|
|
|
if grep -q GRUB_TIMEOUT=5 /etc/default/grub; then |
|
|
|
echo "grub was not modified yet, applying changes..." |
|
|
|
sudo /opt/debian-bash/tools/append_or_replace "^GRUB_TIMEOUT=5$" "GRUB_TIMEOUT=0" /etc/default/grub |
|
|
|
sudo /opt/debian-bash/tools/append_or_replace "^GRUB_CMDLINE_LINUX_DEFAULT=.*$" "GRUB_CMDLINE_LINUX_DEFAULT=\"quiet nosgx\"" /etc/default/grub |
|
|
|
sudo update-grub |
|
|
|
echo OK |
|
|
|
else |
|
|
|
echo changes already done! |
|
|
|
fi |
|
|
|
|
|
|
|
echo "## firefox latest" |
|
|
|
echo "=================" |
|
|
|
firefox_lang=$(echo $LANG | cut -d_ -f1) |
|
|
|
[[ $firefox_lang == "en" ]] && firefox_lang="en-US" |
|
|
|
echo $firefox_lang |
|
|
|
if [[ ! /usr/local/bin/firefox -ef /opt/firefox/firefox ]]; then |
|
|
|
set -e |
|
|
|
cd /tmp |
|
|
@ -233,6 +244,8 @@ EXTENSIONS=( |
|
|
|
"dash-to-dock@micxgx.gmail.com" |
|
|
|
"gsconnect@andyholmes.github.io" |
|
|
|
"network-stats@gnome.noroadsleft.xyz" |
|
|
|
"bluetooth-quick-connect@bjarosze.gmail.com" |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
compile_schemas_needed=false |
|
|
@ -266,13 +279,15 @@ gsettings set org.gnome.shell.extensions.dash-to-dock apply-custom-theme true |
|
|
|
gsettings set org.gnome.shell.extensions.dash-to-dock multi-monitor true |
|
|
|
|
|
|
|
gsettings set org.gnome.shell.extensions.network-stats display-bytes true |
|
|
|
|
|
|
|
if [[ $(gsettings get org.gnome.shell.extensions.network-stats show-icon) == "true" ]]; then |
|
|
|
gsettings set org.gnome.shell.extensions.network-stats show-icon false |
|
|
|
"$HOME/.local/bin/gext" disable network-stats@gnome.noroadsleft.xyz |
|
|
|
"$HOME/.local/bin/gext" enable network-stats@gnome.noroadsleft.xyz |
|
|
|
fi |
|
|
|
|
|
|
|
gsettings set org.gnome.shell.extensions.bluetooth-quick-connect keep-menu-on-toggle true |
|
|
|
gsettings set org.gnome.shell.extensions.bluetooth-quick-connect bluetooth-auto-power-on true |
|
|
|
|
|
|
|
echo "# firefox addons" |
|
|
|
echo "================" |
|
|
|
declare -A FIREFOX_ADDONS |
|
|
|