mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
Merge pull request #100 from bohlender/master
Added support for Guake terminal
This commit is contained in:
commit
5037eea952
@ -59,7 +59,18 @@ set_theme() {
|
|||||||
# | ===========================================
|
# | ===========================================
|
||||||
TERMINAL=$(ps -p $(ps -p $(ps -p $$ -o ppid=) -o ppid=) -o args=)
|
TERMINAL=$(ps -p $(ps -p $(ps -p $$ -o ppid=) -o ppid=) -o args=)
|
||||||
|
|
||||||
if [ $TERMINAL = "pantheon-terminal" ]; then
|
if [[ $TERMINAL =~ "guake" ]]; then
|
||||||
|
# |
|
||||||
|
# | Applying values if string contains guake.main
|
||||||
|
# | =============================================
|
||||||
|
# Note: Guake still uses gconf but plans to support dconf/gsettings when reaching 1.0.0.
|
||||||
|
# See notes for 0.8.1 in https://github.com/Guake/guake/blob/master/NEWS.
|
||||||
|
gconftool-2 -s -t string /apps/guake/style/background/color "${BACKGROUND_COLOR}"
|
||||||
|
gconftool-2 -s -t string /apps/guake/style/font/color "${FOREGROUND_COLOR}"
|
||||||
|
gconftool-2 -s -t string /apps/guake/style/font/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}"
|
||||||
|
gconftool-2 -s -t string /apps/guake/style/font/palette_name "${PROFILE_NAME}"
|
||||||
|
|
||||||
|
elif [ $TERMINAL = "pantheon-terminal" ]; then
|
||||||
# |
|
# |
|
||||||
# | Applying values on pantheon-terminal
|
# | Applying values on pantheon-terminal
|
||||||
# | ===========================================
|
# | ===========================================
|
||||||
@ -104,7 +115,6 @@ elif [ $TERMINAL = "mate-terminal" ]; then
|
|||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
else
|
else
|
||||||
# |
|
# |
|
||||||
# | Applying values on gnome-terminal
|
# | Applying values on gnome-terminal
|
||||||
|
Loading…
Reference in New Issue
Block a user