dwmblocks

Kris's build of dwmblocks
git clone git clone https://git.krisyotam.com/krisyotam/dwmblocks.git
Log | Files | Refs | README | LICENSE

config.h (1456B)


      1 #ifndef CONFIG_H
      2 #define CONFIG_H
      3 
      4 // String used to delimit block outputs in the status.
      5 #define DELIMITER " | "
      6 
      7 // Maximum number of Unicode characters that a block can output.
      8 #define MAX_BLOCK_OUTPUT_LENGTH 50
      9 
     10 // Control whether blocks are clickable.
     11 #define CLICKABLE_BLOCKS 1
     12 
     13 // Control whether a leading delimiter should be prepended to the status.
     14 #define LEADING_DELIMITER 0
     15 
     16 // Control whether a trailing delimiter should be appended to the status.
     17 #define TRAILING_DELIMITER 0
     18 
     19 // Define blocks for the status feed as X(icon, cmd, interval, signal).
     20 // Order: right to left in status bar (first entry appears rightmost)
     21 #define BLOCKS(X)                                    \
     22     X("", "sb-aurora", 3600, 19)                     \
     23     X("", "sb-doppler", 0, 13)                       \
     24     X("", "sb-forecast", 30, 5)                   \
     25     X("", "cat /tmp/recordingicon 2>/dev/null", 0, 9) \
     26     X("", "sb-torrent", 20, 7)                       \
     27     X("", "sb-news", 0, 6)                           \
     28     X("", "sb-mailbox", 180, 12)                     \
     29     X("", "sb-pacpackages", 0, 8)                    \
     30     X("", "sb-disk", 60, 21)                         \
     31     X("", "sb-nettraf", 1, 16)                       \
     32     X("", "sb-internet", 5, 4)                       \
     33     X("", "sb-volume", 0, 10)                        \
     34     X("", "sb-clock", 60, 1)                         \
     35     X("", "sb-dashboard", 0, 11)
     36 
     37 #endif  // CONFIG_H