summaryrefslogtreecommitdiff
path: root/yambar/config.yml
blob: a67668ced23483e504f067a06e464851dde6ccc9 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
bar:
  height: 26
  location: bottom
  background: 000000ff
  font: Commit Mono-23
  border: { top-width: 2, bottom-width: 2, left-width: 2, right-width: 2 }

  right:
    - network:
        name: name-of-vpn-interface
        poll-interval: 30000
        content:
          map:
            conditions:
              ~carrier:
                string: {text: "VPN DN | ", margin: 5}
              carrier:
                string: {text: "VPN UP | ", margin: 5}
    - network:
        name: wlp1s0
        poll-interval: 30000
        content:
          map:
            default:
              string: {text: "WLS DN | "}
            conditions:
              state == up:
                string: {text: "WLS {ssid} | "}
    - battery:
        name: BAT1
        poll-interval: 30000
        content:
          map:
            default:
              string: {text: "BAT D{capacity}% {estimate} | "}
            conditions:
              state == charging:
                string: {text: "BAT C{capacity}% {estimate} | "}
    - script:
        path: ~/.local/bin/yambar_status
        args: []
        poll-interval: 30000
        content: {string: {text: "{temp} | {time}"}}
  left:
    - river:
        title:
          map:
            conditions:
              title != "":
                string: { max: 64, text: "| {layout} | {title}" }
              title == "":
                string: { text: "<no views>" }
        content:
          map:
            conditions:
              ~occupied: {empty: {}}
              occupied:
                  map:
                    conditions:
                      ~focused:
                        string:
                          margin: 5
                          text: "{id} "
                      focused:
                        string:
                          margin: 5
                          text: "{id}*"