Xinqi Bao's Git
1e2355ef20466484cfcf545392d36048e258dbe8
1 /* See LICENSE file for copyright and license details. */
4 static const char soundcard
[] = "default";
5 static const char channel
[] = "Master";
8 static const char tempfile
[] = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input";
11 static const char wificard
[] = "wlp3s0";
14 static const char batterynowfile
[] = "/sys/class/power_supply/BAT0/energy_now";
15 static const char batteryfullfile
[] = "/sys/class/power_supply/BAT0/energy_full_design";
18 static const char timeformat
[] = "%y-%m-%d %H:%M:%S";
21 #define FORMATSTRING "wifi %4s | bat %4s | cpu %4s %3s | ram %3s | vol %4s | %3s"
22 #define ARGUMENTS wifi_signal, battery, cpu_usage, cpu_temperature, ram_usage, volume, datetime