aboutsummaryrefslogtreecommitdiff
path: root/config.h
blob: 95b4caa97a1959f295e1c5835f668bc0747bc71a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef CONFIG_H
#define CONFIG_H

// String used to delimit block outputs in the status.
#define DELIMITER ""

// Maximum number of Unicode characters that a block can output.
#define MAX_BLOCK_OUTPUT_LENGTH 50

// Control whether blocks are clickable.
#define CLICKABLE_BLOCKS 1

// Control whether a leading delimiter should be prepended to the status.
#define LEADING_DELIMITER 0

// Control whether a trailing delimiter should be appended to the status.
#define TRAILING_DELIMITER 0

// Define blocks for the status feed as X(icon, cmd, interval, signal).
#define BLOCKS(X)             \
    X("", "~/.local/bin/pw-music",        2,   6) \
    X("", "~/.local/bin/pw-pacman",       600, 5) \
    X("", "~/.local/bin/pw-cputemp",      5,   4) \
    X("", "~/.local/bin/pw-fan",          5,   3) \
    X("", "~/.local/bin/pw-battery",      10,  2) \
    X("", "~/.local/bin/pw-date",         1,   1)

#endif  // CONFIG_H