Fix status volume for debian (pipewire)
This commit is contained in:
@@ -66,7 +66,7 @@ static const char unknown_str[] = "??";
|
|||||||
static const struct arg args[] = {
|
static const struct arg args[] = {
|
||||||
/* function format argument */
|
/* function format argument */
|
||||||
{ battery_perc, " %s%% ", "BAT0" },
|
{ battery_perc, " %s%% ", "BAT0" },
|
||||||
{ vol_perc, " %s%% ", NULL },
|
{ run_command, " %s%% ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" },
|
||||||
{ cpu_perc, " %s%% ", NULL },
|
{ cpu_perc, " %s%% ", NULL },
|
||||||
{ ram_used, " %s", NULL },
|
{ ram_used, " %s", NULL },
|
||||||
{ ram_perc, "(%s%%) ", NULL },
|
{ ram_perc, "(%s%%) ", NULL },
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ static const char unknown_str[] = "??";
|
|||||||
static const struct arg args[] = {
|
static const struct arg args[] = {
|
||||||
/* function format argument */
|
/* function format argument */
|
||||||
{ battery_perc, " %s%% ", "BAT0" },
|
{ battery_perc, " %s%% ", "BAT0" },
|
||||||
{ vol_perc, " %s%% ", NULL },
|
{ run_command, " %s%% ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" },
|
||||||
{ cpu_perc, " %s%% ", NULL },
|
{ cpu_perc, " %s%% ", NULL },
|
||||||
{ ram_used, " %s", NULL },
|
{ ram_used, " %s", NULL },
|
||||||
{ ram_perc, "(%s%%) ", NULL },
|
{ ram_perc, "(%s%%) ", NULL },
|
||||||
|
|||||||
Reference in New Issue
Block a user