diff --git a/programs/slstatus/config.def.h b/programs/slstatus/config.def.h index 3801841e..281adbec 100644 --- a/programs/slstatus/config.def.h +++ b/programs/slstatus/config.def.h @@ -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 }, diff --git a/programs/slstatus/config.h b/programs/slstatus/config.h index 3801841e..281adbec 100644 --- a/programs/slstatus/config.h +++ b/programs/slstatus/config.h @@ -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 }, diff --git a/programs/slstatus/slstatus b/programs/slstatus/slstatus index 215531f4..b094f6bf 100755 Binary files a/programs/slstatus/slstatus and b/programs/slstatus/slstatus differ