diff options
Diffstat (limited to '')
-rw-r--r-- | dwm/chadwm/config.def.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dwm/chadwm/config.def.h b/dwm/chadwm/config.def.h index a427cdd..032a381 100644 --- a/dwm/chadwm/config.def.h +++ b/dwm/chadwm/config.def.h @@ -130,9 +130,10 @@ static const char *rofi[] = {"rofi", "-show", "drun", NULL}; static const char *xi[] = {"xbacklight", "-inc", "7", NULL}; static const char *screenshotcmd[] = {"flameshot", "gui", NULL}; static const char *xd[] = {"xbacklight", "-dec", "7", NULL}; -static const char *volume_up_cmd[] = {"pamixer", "--allow-boost", "-i", "5", NULL}; -static const char *volume_down_cmd[] = {"pamixer", "--allow-boost", "-d", "5", NULL}; -static const char *volume_mute_toggle[] = {"pamixer", "-t", NULL}; +static const char *volume_up_cmd[] = {"pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL}; +static const char *volume_down_cmd[] = {"pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL}; +static const char *volume_mute_toggle[] = {"pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL}; +static const char *volume_mutemic_toggle[] = {"pactl", "set-source-mute", "@DEFAULT_SOURCE@", "toggle", NULL}; static const char *keyboard_brightness_up[] = {"xbacklight", "-ctrl", "asus::kbd_backlight", "-inc", "33", NULL}; static const char *keyboard_brightness_down[] = {"xbacklight", "-ctrl", "asus::kbd_backlight", @@ -140,7 +141,7 @@ static const char *keyboard_brightness_down[] = {"xbacklight", "-ctrl", "asus::k static const char *player_toggle[] = {"playerctl", "play-pause", NULL}; static const char *player_next[] = {"playerctl", "next", NULL}; static const char *player_previous[] = {"playerctl", "previous", NULL}; -static const char *screen_lock[] = {"dm-tool", "lock", NULL}; +static const char *screen_lock[] = {"xsecurelock", NULL}; static Key keys[] = { /* modifier key function argument */ @@ -157,6 +158,7 @@ static Key keys[] = { {0, XF86XK_AudioRaiseVolume, spawn, {.v = volume_up_cmd}}, {0, XF86XK_AudioLowerVolume, spawn, {.v = volume_down_cmd}}, {0, XF86XK_AudioMute, spawn, {.v = volume_mute_toggle}}, + {0, XF86XK_AudioMicMute, spawn, {.v = volume_mutemic_toggle}}, {0, XF86XK_AudioPlay, spawn, {.v = player_toggle}}, {0, XF86XK_AudioNext, spawn, {.v = player_next}}, {0, XF86XK_AudioPrev, spawn, {.v = player_previous}}, @@ -223,6 +225,7 @@ static Key keys[] = { {MODKEY | ShiftMask, XK_Left, dectag, {0}}, {MODKEY | ControlMask | ShiftMask, XK_Left, dectoggletag, {0}}, {MODKEY | ShiftMask, XK_0, tag, {.ui = ~0}}, + {MODKEY | ShiftMask | ControlMask, XK_0, tag, {.ui = 1}}, {MODKEY, XK_comma, focusmon, {.i = -1}}, {MODKEY, XK_period, focusmon, {.i = +1}}, {MODKEY | ShiftMask, XK_comma, tagmon, {.i = -1}}, |