Install chromium in Debian and fix favorites bar
This commit is contained in:
parent
ea6726ae98
commit
701e880c9f
2 changed files with 11 additions and 1 deletions
|
@ -21,6 +21,7 @@
|
|||
force_apt_get: yes
|
||||
vars:
|
||||
packages:
|
||||
- chromium
|
||||
- dconf-cli
|
||||
- emacs
|
||||
- galculator
|
||||
|
|
|
@ -10,7 +10,16 @@ set_favorites_bar () {
|
|||
else
|
||||
firefox=firefox
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue