Fix status volume for debian (pipewire)

This commit is contained in:
2024-06-04 22:57:42 +01:00
parent 9d421f1e0a
commit 6141291ff5
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ static const char unknown_str[] = "??";
static const struct arg args[] = {
/* function format argument */
{ battery_perc, "󰂉 %s%% ", "BAT0" },
{ vol_perc, " %s%% ", NULL },
{ run_command, " %s%% ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" },
{ cpu_perc, " %s%% ", NULL },
{ ram_used, " %s", NULL },
{ ram_perc, "(%s%%) ", NULL },

View File

@@ -66,7 +66,7 @@ static const char unknown_str[] = "??";
static const struct arg args[] = {
/* function format argument */
{ battery_perc, "󰂉 %s%% ", "BAT0" },
{ vol_perc, " %s%% ", NULL },
{ run_command, " %s%% ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" },
{ cpu_perc, " %s%% ", NULL },
{ ram_used, " %s", NULL },
{ ram_perc, "(%s%%) ", NULL },