Install chromium in Debian and fix favorites bar

This commit is contained in:
Anthony Rose 2021-03-19 14:30:53 +00:00
parent ea6726ae98
commit 701e880c9f
2 changed files with 11 additions and 1 deletions
roles
debian/tasks
home-gui/files

View file

@ -21,6 +21,7 @@
force_apt_get: yes force_apt_get: yes
vars: vars:
packages: packages:
- chromium
- dconf-cli - dconf-cli
- emacs - emacs
- galculator - galculator

View file

@ -10,7 +10,16 @@ set_favorites_bar () {
else else
firefox=firefox firefox=firefox
fi fi
gsettings set org.gnome.shell favorite-apps "['org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', 'chromium_chromium.desktop', '$firefox.desktop']"
local chromium
if [ -r /var/lib/snapd/desktop/applications ]
then
chromium=chromium_chromium
else
chromium=chromium
fi
gsettings set org.gnome.shell favorite-apps "['org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', '$chromium.desktop', '$firefox.desktop']"
} }
set_favorites_bar set_favorites_bar