diff --git a/src/bookworm b/src/bookworm index b15142e..07d4b87 100755 --- a/src/bookworm +++ b/src/bookworm @@ -120,6 +120,7 @@ fi firefox_lang=$(echo $LANG | cut -d_ -f1) +[[ $firefox_lang == "en" ]] && firefox_lang="en-US" echo $firefox_lang @@ -143,11 +144,25 @@ Icon=/opt/firefox/browser/chrome/icons/default/default128.png Categories=Network;WebBrowser; MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https; StartupNotify=true -StartupWMClass=firefox +StartupWMClass=Navigator +Actions=new-window;new-private-window;profile-manager; + +[Desktop Action new-window] +Name=New Window +Exec=/opt/firefox/firefox --new-window %u + +[Desktop Action new-private-window] +Name=New Private Window +Exec=/opt/firefox/firefox --private-window %u + +[Desktop Action profile-manager] +Name=Profile Manager +Exec=/opt/firefox/firefox -P %u EOF sudo ln -s /opt/firefox/firefox /usr/local/bin/firefox sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /opt/firefox/firefox 200 && sudo update-alternatives --set x-www-browser /opt/firefox/firefox sudo apt remove -y firefox-esr + sudo apt install -y libdbus-glib-1-2 set +e else echo "firefox latest already installed!" @@ -189,6 +204,7 @@ EXTENSIONS=( "system-monitor-next@paradoxxx.zero.gmail.com" "dash-to-dock@micxgx.gmail.com" "gsconnect@andyholmes.github.io" + "network-stats@gnome.noroadsleft.xyz" ) for extension in "${EXTENSIONS[@]}"; do @@ -207,7 +223,7 @@ gsettings set org.gnome.shell.extensions.system-monitor show-tooltip true gsettings set org.gnome.shell.extensions.system-monitor cpu-show-text false gsettings set org.gnome.shell.extensions.system-monitor cpu-graph-width 60 gsettings set org.gnome.shell.extensions.system-monitor memory-display false -gsettings set org.gnome.shell.extensions.system-monitor net-display true +gsettings set org.gnome.shell.extensions.system-monitor net-display false gsettings set org.gnome.shell.extensions.system-monitor net-show-text false gsettings set org.gnome.shell.extensions.system-monitor net-graph-width 40 gsettings set org.gnome.shell.extensions.system-monitor disk-display false