[improve/confg] Improve the bar format
This commit is contained in:
parent
edbb5c34dc
commit
52a95580ac
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ static const char unknown_str[] = "n/a";
|
|||
static const struct arg args[] = {
|
||||
/* function format argument */
|
||||
{ run_command, "SP:%s ", "amixer sget Master | awk -F\"[][]\" '/%/ { print $2 }' | head -n1" },
|
||||
{ run_command, "BR:%s%% ", "xbacklight -get | awk '{print $1}'" },
|
||||
{ run_command, "BR:%s%% ", "xbacklight -get | awk '{printf \"%.0f\", $1}'" },
|
||||
{ cpu_perc, "CPU:%s%%|", NULL },
|
||||
{ cpu_freq, "%s ", NULL },
|
||||
{ temp, "%s\u00b0C ", "/sys/class/thermal/thermal_zone8/temp" },
|
||||
|
@ -76,8 +76,8 @@ static const struct arg args[] = {
|
|||
{ battery_perc, "BAT:%s%%", "BAT0" },
|
||||
{ battery_state, "%s ", "BAT0" },
|
||||
{ keymap, "KB:%s ", NULL },
|
||||
{ datetime, "DATE:%s|", "%D %a" },
|
||||
{ datetime, "%s ", "%r" },
|
||||
{ datetime, "DATE:%s|", "%a %d/%m/%Y" },
|
||||
{ disk_used, "(/:%s|", "/" },
|
||||
{ disk_used, "~:%s)", "/home" },
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue