Add git ignore file

This commit is contained in:
Anas Elgarhy 2022-04-24 08:08:26 +02:00
parent 35ff6a2034
commit 7ae4effadd
2 changed files with 13 additions and 3 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
*.o
slstatus

View file

@ -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" },
};