Set Ptyxis settings

This commit is contained in:
Anthony Rose 2024-12-02 23:17:13 +00:00
parent d234314095
commit 63c5f1869e

View file

@ -94,6 +94,28 @@ set_gnome_terminal_preferences () {
} }
set_gnome_terminal_preferences set_gnome_terminal_preferences
set_ptyxis_preferences () {
gsettings set org.gnome.Ptyxis interface-style 'light'
gsettings set org.gnome.Ptyxis restore-session false
gsettings set org.gnome.Ptyxis restore-window-size false
gsettings set org.gnome.Ptyxis default-columns 132
gsettings set org.gnome.Ptyxis default-rows 43
gsettings set org.gnome.Ptyxis audible-bell false
_acp_ptyxis_profile="org.gnome.Ptyxis.Profile:/org/gnome/Ptyxis/Profiles/$(gsettings get org.gnome.Ptyxis default-profile-uuid | tr -d \')/"
gsettings set "$_acp_ptyxis_profile" preserve-container 'never'
gsettings set "$_acp_ptyxis_profile" preserve-directory 'never'
gsettings set "$_acp_ptyxis_profile" palette 'tango'
unset _acp_ptyxis_profile
# Remove all shortcuts.
for key in $(gsettings list-keys org.gnome.Ptyxis.Shortcuts)
do
gsettings set org.gnome.Ptyxis.Shortcuts $key ''
done
}
set_ptyxis_preferences
set_gnome_text_editor_preferences () { set_gnome_text_editor_preferences () {
if gsettings list-schemas | grep '^org.gnome.TextEditor$' > /dev/null if gsettings list-schemas | grep '^org.gnome.TextEditor$' > /dev/null
then then