My slstatus configuration
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
775 B

  1. /* See LICENSE file for copyright and license details. */
  2. /* alsa sound */
  3. static const char soundcard[] = "default";
  4. static const char channel[] = "Master";
  5. /* cpu temperature */
  6. static const char tempfile[] = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input";
  7. /* wifi */
  8. static const char wificard[] = "wlp3s0";
  9. /* battery */
  10. static const char batterynowfile[] = "/sys/class/power_supply/BAT0/energy_now";
  11. static const char batteryfullfile[] = "/sys/class/power_supply/BAT0/energy_full_design";
  12. /* time */
  13. static const char timeformat[] = "%y-%m-%d %H:%M:%S";
  14. /* statusbar */
  15. #define FORMATSTRING "wifi %4s | bat %4s | cpu %4s %3s | ram %3s | vol %4s | %3s"
  16. #define ARGUMENTS wifi_signal, battery, cpu_usage, cpu_temperature, ram_usage, volume, datetime