Updated xfce terminal theme funct
This commit is contained in:
parent
a6c3c6d945
commit
053533a8a7
2
PKGBUILD
2
PKGBUILD
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname=archcraft-openbox
|
pkgname=archcraft-openbox
|
||||||
pkgver=6.0
|
pkgver=6.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Openbox Configurations for Archcraft"
|
pkgdesc="Openbox Configurations for Archcraft"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/archcraft-os/archcraft-openbox"
|
url="https://github.com/archcraft-os/archcraft-openbox"
|
||||||
|
|
|
@ -156,12 +156,11 @@ apply_terminal() {
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
# xfce terminal : fonts & colors
|
# xfce terminal : fonts & colors
|
||||||
sed -i ${PATH_XFCE}/terminalrc \
|
xfconf-query -c xfce4-terminal -p /font-name -s "$terminal_font_name $terminal_font_size"
|
||||||
-e "s/FontName=.*/FontName=$terminal_font_name $terminal_font_size/g" \
|
xfconf-query -c xfce4-terminal -p /color-background -s "$background"
|
||||||
-e "s/ColorBackground=.*/ColorBackground=${background}/g" \
|
xfconf-query -c xfce4-terminal -p /color-foreground -s "$foreground"
|
||||||
-e "s/ColorForeground=.*/ColorForeground=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-cursor -s "$foreground"
|
||||||
-e "s/ColorCursor=.*/ColorCursor=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-palette -s "${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}"
|
||||||
-e "s/ColorPalette=.*/ColorPalette=${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}/g"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Geany -------------------------------------
|
# Geany -------------------------------------
|
||||||
|
|
|
@ -148,12 +148,11 @@ apply_terminal() {
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
# xfce terminal : fonts & colors
|
# xfce terminal : fonts & colors
|
||||||
sed -i ${PATH_XFCE}/terminalrc \
|
xfconf-query -c xfce4-terminal -p /font-name -s "$terminal_font_name $terminal_font_size"
|
||||||
-e "s/FontName=.*/FontName=$terminal_font_name $terminal_font_size/g" \
|
xfconf-query -c xfce4-terminal -p /color-background -s "$background"
|
||||||
-e "s/ColorBackground=.*/ColorBackground=${background}/g" \
|
xfconf-query -c xfce4-terminal -p /color-foreground -s "$foreground"
|
||||||
-e "s/ColorForeground=.*/ColorForeground=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-cursor -s "$foreground"
|
||||||
-e "s/ColorCursor=.*/ColorCursor=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-palette -s "${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}"
|
||||||
-e "s/ColorPalette=.*/ColorPalette=${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}/g"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Geany -------------------------------------
|
# Geany -------------------------------------
|
||||||
|
|
|
@ -148,12 +148,11 @@ apply_terminal() {
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
# xfce terminal : fonts & colors
|
# xfce terminal : fonts & colors
|
||||||
sed -i ${PATH_XFCE}/terminalrc \
|
xfconf-query -c xfce4-terminal -p /font-name -s "$terminal_font_name $terminal_font_size"
|
||||||
-e "s/FontName=.*/FontName=$terminal_font_name $terminal_font_size/g" \
|
xfconf-query -c xfce4-terminal -p /color-background -s "$background"
|
||||||
-e "s/ColorBackground=.*/ColorBackground=${background}/g" \
|
xfconf-query -c xfce4-terminal -p /color-foreground -s "$foreground"
|
||||||
-e "s/ColorForeground=.*/ColorForeground=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-cursor -s "$foreground"
|
||||||
-e "s/ColorCursor=.*/ColorCursor=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-palette -s "${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}"
|
||||||
-e "s/ColorPalette=.*/ColorPalette=${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}/g"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Geany -------------------------------------
|
# Geany -------------------------------------
|
||||||
|
|
|
@ -153,12 +153,11 @@ apply_terminal() {
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
# xfce terminal : fonts & colors
|
# xfce terminal : fonts & colors
|
||||||
sed -i ${PATH_XFCE}/terminalrc \
|
xfconf-query -c xfce4-terminal -p /font-name -s "$terminal_font_name $terminal_font_size"
|
||||||
-e "s/FontName=.*/FontName=$terminal_font_name $terminal_font_size/g" \
|
xfconf-query -c xfce4-terminal -p /color-background -s "$background"
|
||||||
-e "s/ColorBackground=.*/ColorBackground=${background}/g" \
|
xfconf-query -c xfce4-terminal -p /color-foreground -s "$foreground"
|
||||||
-e "s/ColorForeground=.*/ColorForeground=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-cursor -s "$foreground"
|
||||||
-e "s/ColorCursor=.*/ColorCursor=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-palette -s "${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}"
|
||||||
-e "s/ColorPalette=.*/ColorPalette=${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}/g"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Geany -------------------------------------
|
# Geany -------------------------------------
|
||||||
|
|
|
@ -148,12 +148,11 @@ apply_terminal() {
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
# xfce terminal : fonts & colors
|
# xfce terminal : fonts & colors
|
||||||
sed -i ${PATH_XFCE}/terminalrc \
|
xfconf-query -c xfce4-terminal -p /font-name -s "$terminal_font_name $terminal_font_size"
|
||||||
-e "s/FontName=.*/FontName=$terminal_font_name $terminal_font_size/g" \
|
xfconf-query -c xfce4-terminal -p /color-background -s "$background"
|
||||||
-e "s/ColorBackground=.*/ColorBackground=${background}/g" \
|
xfconf-query -c xfce4-terminal -p /color-foreground -s "$foreground"
|
||||||
-e "s/ColorForeground=.*/ColorForeground=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-cursor -s "$foreground"
|
||||||
-e "s/ColorCursor=.*/ColorCursor=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-palette -s "${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}"
|
||||||
-e "s/ColorPalette=.*/ColorPalette=${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}/g"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Geany -------------------------------------
|
# Geany -------------------------------------
|
||||||
|
|
|
@ -152,12 +152,11 @@ apply_terminal() {
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
# xfce terminal : fonts & colors
|
# xfce terminal : fonts & colors
|
||||||
sed -i ${PATH_XFCE}/terminalrc \
|
xfconf-query -c xfce4-terminal -p /font-name -s "$terminal_font_name $terminal_font_size"
|
||||||
-e "s/FontName=.*/FontName=$terminal_font_name $terminal_font_size/g" \
|
xfconf-query -c xfce4-terminal -p /color-background -s "$background"
|
||||||
-e "s/ColorBackground=.*/ColorBackground=${background}/g" \
|
xfconf-query -c xfce4-terminal -p /color-foreground -s "$foreground"
|
||||||
-e "s/ColorForeground=.*/ColorForeground=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-cursor -s "$foreground"
|
||||||
-e "s/ColorCursor=.*/ColorCursor=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-palette -s "${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}"
|
||||||
-e "s/ColorPalette=.*/ColorPalette=${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}/g"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Geany -------------------------------------
|
# Geany -------------------------------------
|
||||||
|
|
|
@ -148,12 +148,11 @@ apply_terminal() {
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
# xfce terminal : fonts & colors
|
# xfce terminal : fonts & colors
|
||||||
sed -i ${PATH_XFCE}/terminalrc \
|
xfconf-query -c xfce4-terminal -p /font-name -s "$terminal_font_name $terminal_font_size"
|
||||||
-e "s/FontName=.*/FontName=$terminal_font_name $terminal_font_size/g" \
|
xfconf-query -c xfce4-terminal -p /color-background -s "$background"
|
||||||
-e "s/ColorBackground=.*/ColorBackground=${background}/g" \
|
xfconf-query -c xfce4-terminal -p /color-foreground -s "$foreground"
|
||||||
-e "s/ColorForeground=.*/ColorForeground=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-cursor -s "$foreground"
|
||||||
-e "s/ColorCursor=.*/ColorCursor=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-palette -s "${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}"
|
||||||
-e "s/ColorPalette=.*/ColorPalette=${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}/g"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Geany -------------------------------------
|
# Geany -------------------------------------
|
||||||
|
|
|
@ -148,12 +148,11 @@ apply_terminal() {
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
# xfce terminal : fonts & colors
|
# xfce terminal : fonts & colors
|
||||||
sed -i ${PATH_XFCE}/terminalrc \
|
xfconf-query -c xfce4-terminal -p /font-name -s "$terminal_font_name $terminal_font_size"
|
||||||
-e "s/FontName=.*/FontName=$terminal_font_name $terminal_font_size/g" \
|
xfconf-query -c xfce4-terminal -p /color-background -s "$background"
|
||||||
-e "s/ColorBackground=.*/ColorBackground=${background}/g" \
|
xfconf-query -c xfce4-terminal -p /color-foreground -s "$foreground"
|
||||||
-e "s/ColorForeground=.*/ColorForeground=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-cursor -s "$foreground"
|
||||||
-e "s/ColorCursor=.*/ColorCursor=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-palette -s "${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}"
|
||||||
-e "s/ColorPalette=.*/ColorPalette=${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}/g"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Geany -------------------------------------
|
# Geany -------------------------------------
|
||||||
|
|
|
@ -148,12 +148,11 @@ apply_terminal() {
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
# xfce terminal : fonts & colors
|
# xfce terminal : fonts & colors
|
||||||
sed -i ${PATH_XFCE}/terminalrc \
|
xfconf-query -c xfce4-terminal -p /font-name -s "$terminal_font_name $terminal_font_size"
|
||||||
-e "s/FontName=.*/FontName=$terminal_font_name $terminal_font_size/g" \
|
xfconf-query -c xfce4-terminal -p /color-background -s "$background"
|
||||||
-e "s/ColorBackground=.*/ColorBackground=${background}/g" \
|
xfconf-query -c xfce4-terminal -p /color-foreground -s "$foreground"
|
||||||
-e "s/ColorForeground=.*/ColorForeground=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-cursor -s "$foreground"
|
||||||
-e "s/ColorCursor=.*/ColorCursor=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-palette -s "${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}"
|
||||||
-e "s/ColorPalette=.*/ColorPalette=${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}/g"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Geany -------------------------------------
|
# Geany -------------------------------------
|
||||||
|
|
|
@ -156,12 +156,11 @@ apply_terminal() {
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
# xfce terminal : fonts & colors
|
# xfce terminal : fonts & colors
|
||||||
sed -i ${PATH_XFCE}/terminalrc \
|
xfconf-query -c xfce4-terminal -p /font-name -s "$terminal_font_name $terminal_font_size"
|
||||||
-e "s/FontName=.*/FontName=$terminal_font_name $terminal_font_size/g" \
|
xfconf-query -c xfce4-terminal -p /color-background -s "$background"
|
||||||
-e "s/ColorBackground=.*/ColorBackground=${background}/g" \
|
xfconf-query -c xfce4-terminal -p /color-foreground -s "$foreground"
|
||||||
-e "s/ColorForeground=.*/ColorForeground=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-cursor -s "$foreground"
|
||||||
-e "s/ColorCursor=.*/ColorCursor=${foreground}/g" \
|
xfconf-query -c xfce4-terminal -p /color-palette -s "${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}"
|
||||||
-e "s/ColorPalette=.*/ColorPalette=${color0};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8};${color9};${color10};${color11};${color12};${color13};${color14};${color15}/g"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Geany -------------------------------------
|
# Geany -------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue