Set Epiphany (Gnome Web) flatpak settings
This commit is contained in:
parent
01b266f7ef
commit
3086441709
1 changed files with 8 additions and 0 deletions
|
@ -230,6 +230,14 @@ set_misc_preferences () {
|
||||||
|
|
||||||
# Set the AccountsService icon file to ~/.face via dbus.
|
# Set the AccountsService icon file to ~/.face via dbus.
|
||||||
busctl call org.freedesktop.Accounts /org/freedesktop/Accounts/User$(id -u) org.freedesktop.Accounts.User SetIconFile "s" "$HOME/.face"
|
busctl call org.freedesktop.Accounts /org/freedesktop/Accounts/User$(id -u) org.freedesktop.Accounts.User SetIconFile "s" "$HOME/.face"
|
||||||
|
|
||||||
|
if $(flatpak info org.gnome.Epiphany 2>/dev/null >/dev/null)
|
||||||
|
then
|
||||||
|
_acp_gsettings="flatpak --user run --command=/usr/bin/gsettings org.gnome.Epiphany"
|
||||||
|
$_acp_gsettings set org.gnome.Epiphany homepage-url 'about:newtab'
|
||||||
|
$_acp_gsettings set org.gnome.Epiphany restore-session-policy 'crashed'
|
||||||
|
unset _acp_gsettings
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
set_misc_preferences
|
set_misc_preferences
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue