This commit is contained in:
Anas Elgarhy 2022-04-24 08:09:16 +02:00
parent 7ae4effadd
commit 610878d7c6
4 changed files with 6 additions and 9 deletions

View file

@ -65,17 +65,14 @@ static const char unknown_str[] = "n/a";
*/ */
static const struct arg args[] = { static const struct arg args[] = {
/* function format argument */ /* function format argument */
// { run_command, ": %4s | ", "amixer sget Master | awk -F\"[][]\" '/%/ { print $2 }' | head -n1" }, { run_command, ":%4s | ", "amixer sget Master | awk -F\"[][]\" '/%/ { print $2 }' | head -n1" },
{ vol_perc, ": %4s | ", "/dev/mixer" }, { run_command, ":%3s%% | ", "xbacklight -get | awk '{print $1}'" },
{ run_command, " %3s%% | ", "xbacklight -get | awk '{print $1}'" }, { cpu_perc, ":%s%% ", NULL },
{ temp, " %s°C ", "/sys/class/thermal/thermal_zone0/temp" }, { ram_perc, ":%s%% ", NULL },
{ entropy, " %s ", NULL },
{ cpu_perc, " %s%% ", NULL },
{ ram_perc, " %s%% ", NULL },
// { netspeed_tx, " %s ^ ", "wlan0" }, // { netspeed_tx, " %s ^ ", "wlan0" },
// { netspeed_rx, " %s ", "wlan0" }, // { netspeed_rx, " %s ", "wlan0" },
{ battery_perc, " %s%% ", "BAT0" }, { battery_perc, ":%s%% ", "BAT0" },
{ battery_state, "%s ", "BAT0" }, { battery_state, "%s ", "BAT0" },
{ keymap, " %s ", NULL }, { keymap, ":%s ", NULL },
{ datetime, " %s ", "%F %T" }, { datetime, " %s ", "%F %T" },
}; };

BIN
slstatus

Binary file not shown.

Binary file not shown.

BIN
util.o

Binary file not shown.