aboutsummaryrefslogtreecommitdiffstats
path: root/config-laptop.h
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2023-12-17 11:01:46 +0100
committerEddy Pedroni <epedroni@pm.me>2023-12-17 11:01:46 +0100
commit967af7b28f8a1776821bec341d9823c87e7d00a4 (patch)
tree323338be13c9f7374bf6a270157cb3b3411ec042 /config-laptop.h
parenta2b1bc02f5585aec546e98071d7c4eb0c7c4e0a7 (diff)
Framework laptop changesmaster-old
Diffstat (limited to 'config-laptop.h')
-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 };