summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlucashemi <lucasxberger@gmail.com>2022-09-16 14:31:41 -0300
committerlucashemi <lucasxberger@gmail.com>2022-09-16 14:31:41 -0300
commit91ba142d99e9300ce051c5a238d4da6d707561d2 (patch)
tree2b45873685aaf1fef78b91442057ba4a43446ace
parent90c881ddaa753fa051c41cd69488435d8c519d3d (diff)
pamixer
-rw-r--r--config.h14
-rwxr-xr-xdwmbin85760 -> 85760 bytes
-rw-r--r--dwm.obin77904 -> 77840 bytes
3 files changed, 7 insertions, 7 deletions
diff --git a/config.h b/config.h
index 7579afa..bb8ceff 100644
--- a/config.h
+++ b/config.h
@@ -8,10 +8,10 @@ static const char *brup[] = { "brightnessctl", "set", "5%+", NULL };
static const char *brdown[] = { "brightnessctl", "set", "5%-", NULL };
static const unsigned int borderpx = 2; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
-static const unsigned int gappih = 5; /* horiz inner gap between windows */
-static const unsigned int gappiv = 5; /* vert inner gap between windows */
-static const unsigned int gappoh = 5; /* horiz outer gap between windows and screen edge */
-static const unsigned int gappov = 5; /* vert outer gap between windows and screen edge */
+static const unsigned int gappih = 10; /* horiz inner gap between windows */
+static const unsigned int gappiv = 10; /* vert inner gap between windows */
+static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
+static const unsigned int gappov = 10; /* vert outer gap between windows and screen edge */
static int smartgaps = 0; /* 1 means no outer gap when there is only one window */
static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
static const int showbar = 1; /* 0 means no bar */
@@ -95,9 +95,9 @@ static const char *xsecurelockcmd[] = { "xsecurelock", NULL };
static Key keys[] = {
/* modifier key function argument */
- { MODKEY, XK_F1, spawn, SHCMD("pactl set-sink-mute 0 toggle; kill -44 $(pidof dwmblocks)") },
- { MODKEY, XK_F2, spawn, SHCMD("pactl set-sink-mute 0 false ; pactl set-sink-volume 0 -5%; kill -44 $(pidof dwmblocks)") },
- { MODKEY, XK_F3, spawn, SHCMD("pactl set-sink-mute 0 false ; pactl set-sink-volume 0 +5%; kill -44 $(pidof dwmblocks)") },
+ { MODKEY, XK_F1, spawn, SHCMD("pamixer -t ; kill -44 $(pidof dwmblocks)") },
+ { MODKEY, XK_F2, spawn, SHCMD("pamixer -u ; pamixer -d 5; kill -44 $(pidof dwmblocks)") },
+ { MODKEY, XK_F3, spawn, SHCMD("pamixer -u ; pamixer -i 5; kill -44 $(pidof dwmblocks)") },
{ MODKEY, XK_F5, xrdb, {.v = NULL } },
{ MODKEY, XK_F9, spawn, SHCMD("setxkbmap -layout us; kill -RTMIN+30 $(pidof dwmblocks)") },
{ MODKEY, XK_F10, spawn, SHCMD("setxkbmap -layout br; kill -RTMIN+30 $(pidof dwmblocks)") },
diff --git a/dwm b/dwm
index a12b611..6e9b7d6 100755
--- a/dwm
+++ b/dwm
Binary files differ
diff --git a/dwm.o b/dwm.o
index 71b6e5f..af8cc8a 100644
--- a/dwm.o
+++ b/dwm.o
Binary files differ