[~] Refactor

This commit is contained in:
Siarhei Siniak 2021-11-17 10:49:31 +03:00
parent 645a3dba30
commit 27277f3fe6
2 changed files with 12 additions and 0 deletions

@ -42,6 +42,9 @@
"pactl set-sink-mute @DEFAULT_SINK@ toggle; (pactl get-sink-mute @DEFAULT_SINK@ | grep -Po no > /dev/null); echo $? > /sys/class/leds/hda::mute/brightness"
XF86AudioMute
"playerctl play-pause"
XF86AudioPlay
#"xbindkeys_show"
# control+shift + q

@ -165,6 +165,15 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
);
fflush(stdout);
}
else if (ksym == 0x1008ff14)
{
fprintf(
stdout,
"playerctl play-pause;"
"\n"
);
fflush(stdout);
}
else if (ksym == XK_Escape)
{
fprintf(