Xinqi Bao's Git

1e2355ef20466484cfcf545392d36048e258dbe8
[slstatus.git] / config.def.h
1 /* See LICENSE file for copyright and license details. */
2
3 /* alsa sound */
4 static const char soundcard[] = "default";
5 static const char channel[] = "Master";
6
7 /* cpu temperature */
8 static const char tempfile[] = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input";
9
10 /* wifi */
11 static const char wificard[] = "wlp3s0";
12
13 /* battery */
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";
16
17 /* time */
18 static const char timeformat[] = "%y-%m-%d %H:%M:%S";
19
20 /* statusbar */
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