Add gnome-terminal setup script
This commit is contained in:
parent
6adc3bd7ed
commit
dd2946dc47
23
gnome-terminal.sh
Executable file
23
gnome-terminal.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
terminal=/org/gnome/terminal/legacy
|
||||
profile=$terminal/profiles:/`dconf list $terminal/profiles:/`
|
||||
|
||||
dconf_write_profile_value() {
|
||||
dconf write `echo $profile`$1 $2
|
||||
}
|
||||
|
||||
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)"
|
Reference in New Issue
Block a user