add playing song
This commit is contained in:
parent
b70599d257
commit
c584086139
3 changed files with 7 additions and 1 deletions
8
config.h
8
config.h
|
|
@ -66,5 +66,11 @@ static const char unknown_str[] = "n/a";
|
||||||
*/
|
*/
|
||||||
static const struct arg args[] = {
|
static const struct arg args[] = {
|
||||||
/* function format argument */
|
/* function format argument */
|
||||||
{wifi_essid, "%s", "wlp3s0"}, {wifi_perc, " %s%% |", "wlp3s0"}, {battery_perc, " bat %s%%", "BAT0"}, {battery_state, "%s |", "BAT0"}, {vol_perc_pw, " vol %s |", "@DEFAULT_AUDIO_SINK@"}, {datetime, " %s", "%d.%m.%Y | %H:%M"},
|
{run_command, "%s | ", "playerctl metadata --player=spotify --format '{{artist}} - {{title}}'"},
|
||||||
|
{wifi_essid, "%s", "wlp3s0"},
|
||||||
|
{wifi_perc, " %s%% |", "wlp3s0"},
|
||||||
|
{battery_perc, " bat %s%%", "BAT0"},
|
||||||
|
{battery_state, "%s |", "BAT0"},
|
||||||
|
{vol_perc_pw, " vol %s |", "@DEFAULT_AUDIO_SINK@"},
|
||||||
|
{datetime, " %s", "%d.%m.%Y | %H:%M"},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
BIN
slstatus
BIN
slstatus
Binary file not shown.
BIN
slstatus.o
BIN
slstatus.o
Binary file not shown.
Loading…
Reference in a new issue