|
|
|
|
@@ -2,16 +2,23 @@
|
|
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
which gnome-terminal &> /dev/null || exit 0
|
|
|
|
|
terminal=/org/gnome/terminal/legacy
|
|
|
|
|
profile=$terminal/profiles:/`dconf list $terminal/profiles:/`
|
|
|
|
|
echo $profile
|
|
|
|
|
|
|
|
|
|
terminal=/org/gnome/terminal/legacy/
|
|
|
|
|
profile=${terminal}profiles:/`dconf list ${terminal}profiles:/ | head -1`
|
|
|
|
|
dconf_write_profile_value() {
|
|
|
|
|
dconf write `echo $profile`$1 $2
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dconf write ${terminal}default-show-menubar false
|
|
|
|
|
dconf write ${profile}visible-name "'Fresh'"
|
|
|
|
|
dconf write ${profile}scrollbar-policy "'never'"
|
|
|
|
|
dconf write ${profile}use-theme-colors false
|
|
|
|
|
dconf write ${profile}use-theme-transparency false
|
|
|
|
|
dconf write ${profile}use-transparent-background false
|
|
|
|
|
dconf write ${profile}background-color "'rgb(0,0,0)'"
|
|
|
|
|
dconf write ${profile}foreground-color "'rgb(170,170,170)'"
|
|
|
|
|
dconf_write_profile_string() {
|
|
|
|
|
dconf write `echo $profile`$1 "'$2'"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dconf write $terminal/default-show-menubar false
|
|
|
|
|
dconf_write_profile_string visible-name Fresh
|
|
|
|
|
dconf_write_profile_string scrollbar-policy never
|
|
|
|
|
dconf_write_profile_value use-theme-colors false
|
|
|
|
|
dconf_write_profile_value use-theme-transparency false
|
|
|
|
|
dconf_write_profile_value use-transparent-background false
|
|
|
|
|
dconf_write_profile_string background-color "rgb(0,0,0)"
|
|
|
|
|
dconf_write_profile_string foreground-color "rgb(170,170,170)"
|
|
|
|
|
|