[Pkg-alsa-devel] alsamixer
Facundo Guerrero
guerremdq at gmail.com
Sun Oct 30 21:14:39 UTC 2011
Hello !
I woundering if you can apply a patch to have transparency in alsamixer
background ?
I test this patch in debian lenny and work's great. I put the code for it
Thank's in advance.
*** alsamixer/colors.c 2010-04-16 08:11:06.000000000 -0300
--- alsamixer/colors.c 2011-10-30 02:20:01.034426278 -0300
***************
*** 51,62 ****
{
if (!!has_colors() == !!use_color) {
start_color();
! init_pair(1, COLOR_CYAN, COLOR_BLACK);
! init_pair(2, COLOR_YELLOW, COLOR_BLACK);
init_pair(3, COLOR_WHITE, COLOR_GREEN);
! init_pair(4, COLOR_RED, COLOR_BLACK);
! init_pair(5, COLOR_WHITE, COLOR_BLACK);
init_pair(6, COLOR_WHITE, COLOR_BLUE);
init_pair(7, COLOR_RED, COLOR_BLUE);
init_pair(8, COLOR_GREEN, COLOR_GREEN);
--- 51,63 ----
{
if (!!has_colors() == !!use_color) {
start_color();
+ use_default_colors();
! init_pair(1, COLOR_CYAN, -1);
! init_pair(2, COLOR_YELLOW, -1);
init_pair(3, COLOR_WHITE, COLOR_GREEN);
! init_pair(4, COLOR_RED, -1);
! init_pair(5, COLOR_WHITE, -1);
init_pair(6, COLOR_WHITE, COLOR_BLUE);
init_pair(7, COLOR_RED, COLOR_BLUE);
init_pair(8, COLOR_GREEN, COLOR_GREEN);
--
Atte, Facundo Guerrero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20111030/06266ed0/attachment.html>
More information about the Pkg-alsa-devel
mailing list