Add wifi info to the system bar

This commit is contained in:
2024-06-19 20:17:47 +01:00
parent 7cde40ef4a
commit 69af2b8bd1
3 changed files with 6 additions and 0 deletions

View File

@@ -65,6 +65,9 @@ static const char unknown_str[] = "??";
*/
static const struct arg args[] = {
/* function format argument */
{ wifi_essid, " %s", "wlan0" },
{ wifi_perc, "(%s%%) ", "wlan0" },
{ battery_perc, "󰂉 %s%% ", "BAT0" },
{ run_command, " %s%% ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" },
{ cpu_perc, " %s%% ", NULL },