Change an active Terminal's background color

Harold Aling h.aling at home.nl
Thu Feb 1 21:04:04 CET 2007


Harold Aling wrote:
> Current .bashrc config:
>
> ssh () {
>         xtermOldBG=`xtermcontrol --get-bg`
>         xtermcontrol --bg="darkred"
>         command ssh "$@"
>         xtermcontrol --bg=${xtermOldBG}
> }
>
> sudo () {
>         xtermOldBG=`xtermcontrol --get-bg`
>         xtermcontrol --bg="darkblue"
>         command su*do* "$@"
>         xtermcontrol --bg=${xtermOldBG}
> }
>
>   
(fixed small typo in sudo command)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20070201/379ac99d/attachment.html>


More information about the Xfce mailing list