My slstatus configuration
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

16 řádky
262 B

  1. /* See LICENSE file for copyright and license details. */
  2. #ifdef __linux__
  3. #include <stdio.h>
  4. #include "../util.h"
  5. const char *
  6. temp(const char *file)
  7. {
  8. int temp;
  9. return (pscanf(file, "%d", &temp) == 1) ?
  10. bprintf("%d", temp / 1000) : NULL;
  11. }
  12. #endif