doas instead of sudo.

This commit is contained in:
Bartek Stalewski 2021-09-20 20:10:21 +02:00
parent aa42ce512d
commit 049e37255e

View file

@ -140,8 +140,8 @@ static Key keys[] = {
{ 0, XF86XK_AudioMicMute, spawn, SHCMD("sb-volume micmute") },
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ +5%; kill -46 $(pidof dwmblocks)") },
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ -5%; kill -46 $(pidof dwmblocks)") },
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("sudo xbacklight -inc 10") },
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("sudo xbacklight -dec 10") },
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("doas xbacklight -inc 10") },
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("doas xbacklight -dec 10") },
};
/* button definitions */