Add git ignore file
This commit is contained in:
parent
35ff6a2034
commit
7ae4effadd
2 changed files with 13 additions and 3 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
*.o
|
||||
slstatus
|
||||
|
13
config.h
13
config.h
|
@ -65,10 +65,17 @@ static const char unknown_str[] = "n/a";
|
|||
*/
|
||||
static const struct arg args[] = {
|
||||
/* 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}'" },
|
||||
{ battery_perc, " %s%% ", "BAT0" },
|
||||
{ temp, " %s°C ", "/sys/class/thermal/thermal_zone0/temp" },
|
||||
{ entropy, " %s ", NULL },
|
||||
{ cpu_perc, " %s%% ", NULL },
|
||||
{ ram_perc, " %s%% ", NULL },
|
||||
{ datetime, "%s", "%a %b %d %r" },
|
||||
// { netspeed_tx, " %s ^ ", "wlan0" },
|
||||
// { netspeed_rx, " %s ", "wlan0" },
|
||||
{ battery_perc, " %s%% ", "BAT0" },
|
||||
{ battery_state, "%s ", "BAT0" },
|
||||
{ keymap, " %s ", NULL },
|
||||
{ datetime, " %s ", "%F %T" },
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue