From a54e5195a40988681f5744f93cfda4fc305914d8 Mon Sep 17 00:00:00 2001 From: celso Date: Wed, 15 Nov 2023 23:42:17 -0300 Subject: [PATCH] adapted amixer commands and fontawesome to asus_desk --- config.def.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.def.h b/config.def.h index 9a97582..330b522 100644 --- a/config.def.h +++ b/config.def.h @@ -6,7 +6,7 @@ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const int focusonwheel = 0; -static const char *fonts[] = { "Liberation Sans:style=regular:size=11:antialias=true:autohint=true", "Font Awesome 5 Free:size=11:antialias=true:autohint=true" }; +static const char *fonts[] = { "Liberation Sans:style=regular:size=11:antialias=true:autohint=true", "Font Awesome 5 Free Regular:size=11:antialias=true:autohint=true", "Font Awesome 5 Brands:size=11:antialias=true:autohint=true", "Font Awesome 5 Free Solid:size=11:antialias=true:autohint=true" }; static const char dmenufont[] = "Liberation Mono:size=11"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; @@ -80,10 +80,10 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenuf static const char *termcmd[] = { "st", NULL }; /* alsa volume control */ static const char *alsacmd[] = { "st", "-c", "floatalsamxr", "-e", "alsamixer", NULL }; -static const char *upvol[] = { "amixer", "set", "Master", "2+", NULL }; -static const char *downvol[] = { "amixer", "set", "Master", "2-", NULL }; +static const char *upvol[] = { "amixer", "-c", "1", "set", "Master", "2+", NULL }; +static const char *downvol[] = { "amixer", "-c", "1", "set", "Master", "2-", NULL }; /* alsa muting/unmuting */ -static const char *mute[] = { "amixer", "-q", "set", "Master", "toggle", NULL }; +static const char *mute[] = { "amixer", "-c", "1", "-q", "set", "Master", "toggle", NULL }; /* screenshot tools */ static const char *scrallcmd[] = { "/home/kurk/sources/scripts/prtscr/prtscra.sh", NULL }; static const char *scrcurcmd[] = { "/home/kurk/sources/scripts/prtscr/prtscrcr.sh", NULL };