birdwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d488dedebad5e9ae7954d84645b8bb893e7291b9
parent 2fa66ec64c0117caf097eafbe148a7be3ef935e6
Author: grouse <bdmfegys@duck.com>
Date:   Sun, 10 Dec 2023 13:20:38 -0500

remove square brackets from sections of slstatus, replace with pipes, in config.def.h

Diffstat:
Mslstatus/config.def.h | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/slstatus/config.def.h b/slstatus/config.def.h @@ -66,13 +66,13 @@ static const char unknown_str[] = "n/a"; */ static const struct arg args[] = { /* function format argument */ - { ram_used, "[RAM  %s]", NULL }, - { cpu_perc, "[CPU  %s%%]", NULL }, - { disk_free, "[ %s free]" , "/" }, - { netspeed_rx, "[ %s]" , "wlan0"}, - { temp, "[%s C°]", "/sys/class/thermal/thermal_zone0/temp" }, - { run_command, "[%s%  ]", "getvolume"}, - { datetime, "%s", "%r"}, + { ram_used, "RAM  %s|", NULL }, + { cpu_perc, "CPU  %s%%|", NULL }, + { disk_free, " %s free|", "/" }, + { netspeed_rx, " %s|", "wlan0"}, + { temp, "%s C°|", "/sys/class/thermal/thermal_zone0/temp" }, + { run_command, "%s%  |", "getvolume"}, + { datetime, "%s|", "%r"}, { kernel_release, " %s", }, - { kanji, "| %s |", }, +// { kanji, "| %s |", }, };