summaryrefslogtreecommitdiff
path: root/yambar/config.yml
blob: 130c56bd585bc1e19814735c07a2ae5b741ce116 (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
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: wlp1s0
        content:
          map:
            default:
              string: {text: "WLS {ssid} | "}
            conditions:
              state == down:
                string: {text: "WLS DN | "}
    - 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:
    - dwl:
        number-of-tags: 8
        dwl-info-filename: "/home/tslil/.cache/dwltags"
        name-of-tags: [ "F", "U", "H", ".", "V", "L", "O", "M" ]
        content:
          list:
            items:
              - map:
                  conditions:
                    # default tag
                    id == 0: {string: {max: 64, text: " | {layout} | {title}"}}
                    selected: {string: {text: " *{name}"}}
                    ~empty: {string: {text: " {name}"}}
                    urgent: {string: {text: "=> {name} <="}}