diff --git a/TODO.md b/TODO.md index 2ab07768..bc4cdf47 100644 --- a/TODO.md +++ b/TODO.md @@ -2,5 +2,4 @@ - Add CPU temp to SLSTATUS - Find a more automated way to replace SLSTATUS if possible -- Add modules design to the statusbar - Remove dialog boxes when running commands in the installer diff --git a/programs/slstatus/config.def.h b/programs/slstatus/config.def.h index ab89e90d..972f8cfb 100644 --- a/programs/slstatus/config.def.h +++ b/programs/slstatus/config.def.h @@ -69,15 +69,15 @@ static const char unknown_str[] = ""; static const struct arg args[] = { /* function format argument */ - { wifi_essid, " %s", "wlan0" }, + { wifi_essid, "[ %s", "wlan0" }, { wifi_essid, "%s", "wlo1" }, - { wifi_perc, "(%s", "wlan0" }, - { wifi_perc, "%s%%) ", "wlo1" }, - { battery_perc, "󰂉 %s", "BAT0" }, - { battery_perc, "%s%% ", "cw2015-battery" }, - { run_command, " %s%% ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" }, - { cpu_perc, " %s%% ", NULL }, - { ram_used, " %s", NULL }, - { ram_perc, "(%s%%) ", NULL }, - { datetime, " %s", "%d/%m/%y %l:%M %p" }, + { wifi_perc, " %s", "wlan0" }, + { wifi_perc, "%s%%] ", "wlo1" }, + { battery_perc, "[󰂉 %s", "BAT0" }, + { battery_perc, "%s%%] ", "cw2015-battery" }, + { run_command, "[ %s%%] ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" }, + { cpu_perc, "[ %s%%] ", NULL }, + { ram_used, "[ %s", NULL }, + { ram_perc, " %s%%] ", NULL }, + { datetime, "[ %s]", "%d/%m/%y %l:%M %p" }, }; diff --git a/programs/slstatus/config.h b/programs/slstatus/config.h index ab89e90d..972f8cfb 100644 --- a/programs/slstatus/config.h +++ b/programs/slstatus/config.h @@ -69,15 +69,15 @@ static const char unknown_str[] = ""; static const struct arg args[] = { /* function format argument */ - { wifi_essid, " %s", "wlan0" }, + { wifi_essid, "[ %s", "wlan0" }, { wifi_essid, "%s", "wlo1" }, - { wifi_perc, "(%s", "wlan0" }, - { wifi_perc, "%s%%) ", "wlo1" }, - { battery_perc, "󰂉 %s", "BAT0" }, - { battery_perc, "%s%% ", "cw2015-battery" }, - { run_command, " %s%% ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" }, - { cpu_perc, " %s%% ", NULL }, - { ram_used, " %s", NULL }, - { ram_perc, "(%s%%) ", NULL }, - { datetime, " %s", "%d/%m/%y %l:%M %p" }, + { wifi_perc, " %s", "wlan0" }, + { wifi_perc, "%s%%] ", "wlo1" }, + { battery_perc, "[󰂉 %s", "BAT0" }, + { battery_perc, "%s%%] ", "cw2015-battery" }, + { run_command, "[ %s%%] ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" }, + { cpu_perc, "[ %s%%] ", NULL }, + { ram_used, "[ %s", NULL }, + { ram_perc, " %s%%] ", NULL }, + { datetime, "[ %s]", "%d/%m/%y %l:%M %p" }, }; diff --git a/programs/slstatus/slstatus b/programs/slstatus/slstatus index fde8d646..9f447631 100755 Binary files a/programs/slstatus/slstatus and b/programs/slstatus/slstatus differ