Aterm multi-color
Script faz com que o aterm seja iniciado cada vez com uma cor diferente.
Descrição
Script faz com que o aterm seja iniciado cada vez com uma cor diferente.
#include <stdio.h>
#include <string.h>
main ()
{
int numero;
char cor[10][10] = {"blue","red","green","yellow","orange","white","cyan","magenta","pink","purple"};
char buf[100];
srand(time(0));
numero = rand() % 10;
sprintf(buf,"/usr/bin/aterm -ls -tr +sb -sh 70 -tint %s -fg white -title Aterm",cor[numero]);
system(buf);
}