migrate inline cmds to vol.sh [up/down/mute]
This commit is contained in:
parent
acf806fac3
commit
01082b4d9e
1 changed files with 6 additions and 12 deletions
18
config.h
18
config.h
|
|
@ -147,24 +147,18 @@ static const char *zellijcmd[] = {
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
static const char *volcmdup[] = {
|
static const char *volcmdup[] = {
|
||||||
"wpctl",
|
"vol.sh",
|
||||||
"set-volume",
|
"up",
|
||||||
"@DEFAULT_AUDIO_SINK@",
|
|
||||||
"10%+",
|
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
static const char *volcmddown[] = {
|
static const char *volcmddown[] = {
|
||||||
"wpctl",
|
"vol.sh",
|
||||||
"set-volume",
|
"down",
|
||||||
"@DEFAULT_AUDIO_SINK@",
|
|
||||||
"10%-",
|
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
static const char *volcmdzero[] = {
|
static const char *volcmdzero[] = {
|
||||||
"wpctl",
|
"vol.sh",
|
||||||
"set-volume",
|
"mute",
|
||||||
"@DEFAULT_AUDIO_SINK@",
|
|
||||||
"0%",
|
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue