aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config-laptop.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/config-laptop.h b/config-laptop.h
index 05e67ae..1d5cdcf 100644
--- a/config-laptop.h
+++ b/config-laptop.h
@@ -11,8 +11,8 @@
#define PRINT 0x1008FF5D /* Print screen */
// audio output key bindings
-//#define ALSA
-#define PULSEAUDIO
+#define ALSA
+//#define PULSEAUDIO
/* appearance */
static const char font[] = "DVIcons:size=8";
@@ -116,7 +116,7 @@ static const Layout layouts[] = {
/* commands */
static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", colors[0][ColBG], "-nf", colors[0][ColFG],"-sb", colors[1][ColBG], "-sf", colors[1][ColFG], NULL };
-static const char *termcmd[] = { "alacritty", NULL };
+static const char *termcmd[] = { "xterm", NULL };
static const char *browsercmd[] = { "firefox", NULL };
static const char *emailcmd[] = { "thunderbird", NULL };
static const char *playercmd[] = { "deadbeef", NULL };
@@ -125,8 +125,8 @@ static const char *scrotcmd[] = { "scrot", "/home/eddy/screenshots/%Y-%m-%d-
static const char *lockcmd[] = { "i3lock", "-c", "000000", NULL };
#if defined(ALSA)
-static const char *lowervolumecmd[] = { "amixer", "-q", "set", "Master", "2dB-", NULL };
-static const char *raisevolumecmd[] = { "amixer", "-q", "set", "Master", "2dB+", NULL };
+static const char *lowervolumecmd[] = { "amixer", "-q", "set", "Master", "2%-", NULL };
+static const char *raisevolumecmd[] = { "amixer", "-q", "set", "Master", "2%+", NULL };
static const char *mutevolumecmd[] = { "amixer", "-q", "set", "Master", "toggle", NULL };
#elif defined(PULSEAUDIO)
static const char *lowervolumecmd[] = { "pactl", "set-sink-volume", "0", "-2%", NULL };
@@ -134,8 +134,8 @@ static const char *raisevolumecmd[] = { "pactl", "set-sink-volume", "0", "+2%",
static const char *mutevolumecmd[] = { "pactl", "set-sink-mute", "0", "toggle", NULL };
#endif
-static const char *raisebrightness[] = { "xbacklight", "-set", "20", NULL };
-static const char *lowerbrightness[] = { "xbacklight", "-set", "1", NULL };
+static const char *raisebrightness[] = { "xbacklight", "-inc", "5", NULL };
+static const char *lowerbrightness[] = { "xbacklight", "-dec", "5", NULL };
static const char *toggletrackpad[] = { "toggle-trackpad", NULL };