diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2023-09-16 12:01:01 +0000 |
---|---|---|
committer | Luca Matei Pintilie <luca@lucamatei.com> | 2023-09-16 12:02:00 +0000 |
commit | 63fee6b75ff7c508ef959cb6515f733c29f3d837 (patch) | |
tree | 73bfac3ae70485fa27dfd638b75df97e93ac6e0a /dwm/chadwm | |
parent | 2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e (diff) | |
download | dotfiles-63fee6b75ff7c508ef959cb6515f733c29f3d837.tar dotfiles-63fee6b75ff7c508ef959cb6515f733c29f3d837.tar.gz dotfiles-63fee6b75ff7c508ef959cb6515f733c29f3d837.tar.bz2 dotfiles-63fee6b75ff7c508ef959cb6515f733c29f3d837.tar.lz dotfiles-63fee6b75ff7c508ef959cb6515f733c29f3d837.tar.xz dotfiles-63fee6b75ff7c508ef959cb6515f733c29f3d837.tar.zst dotfiles-63fee6b75ff7c508ef959cb6515f733c29f3d837.zip |
Update MANPAGER to use nvim and update dwm
Diffstat (limited to 'dwm/chadwm')
-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}}, |