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
roles
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue