Set Ptyxis settings
This commit is contained in:
parent
d234314095
commit
63c5f1869e
1 changed files with 22 additions and 0 deletions
|
@ -94,6 +94,28 @@ 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 () {
|
||||
if gsettings list-schemas | grep '^org.gnome.TextEditor$' > /dev/null
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue