Skip to content


Agregué tbg - terminal background en Xfce #1

merged 1 commit into from

2 participants


Uso este script desde hace semanas y es muy útil para alternar entre condiciones de mucha y poca luz ambiental.

LinuxCabal, A.C. member

Hola, Patricio,

Un buen README estaría bien.

@renich renich merged commit f14d6ad into LinuxCabal:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 6, 2013
  1. @ppaez
Showing with 18 additions and 0 deletions.
  1. +18 −0 generales/tbg
18 generales/tbg
@@ -0,0 +1,18 @@
+#! /bin/bash
+# tbg - terminal background in Xfce
+# Alternates between white and black
+# background colors
+if grep "ColorBackground=#${light_color}" $terminalrc >/dev/null; then
+ sed -i -e "s/\(ColorBackground=#\)${light_color}/\1${dark_color}/" \
+ -e "s/\(ColorForeground=#\)${dark_color}/\1${light_color}/" $terminalrc
+ sed -i -e "s/\(ColorForeground=#\)${light_color}/\1${dark_color}/" \
+ -e "s/\(ColorBackground=#\)${dark_color}/\1${light_color}/" $terminalrc
Something went wrong with that request. Please try again.