~yerinalexey/dotfiles

ref: 3bb7991839c26fe59674184fc6822f7477751f93 dotfiles/yambar/config.yml -rw-r--r-- 1.9 KiB
3bb79918Alexey Yerin river: decrease wob height 5 months ago
                                                                                
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:
  location: top
  height: 30
  background: 282c34ff
  font: monospace:size=14

  left:
  - river:
      anchors:
      - base: &river_base
          margin: 10
          text: "{id}"
          on-click: sh -c "riverctl set-focused-tags $((1 << ({id} - 1)))"

      title:
        string:
          margin: 6
          text: "{title}"

      content:
        map:
          tag: state
          values:
            focused:
              string:
                <<: *river_base
                deco:
                  stack:
                  - background: { color: 599bf6ff }
                  - underline: { size: 2, color: fefefeff }

            unfocused:
              string:
                <<: *river_base
            invisible:
              map:
                tag: occupied
                values:
                  true:
                    string:
                      <<: *river_base
                      deco:
                        stack:
                        - underline: { size: 2, color: fefefeff }
                  false:
                    map:
                      tag: id
                      default:
                        empty: {}
                      values:
                        # 9 default tags that are shown unless occupied
                        1: { string: { <<: *river_base }}
                        2: { string: { <<: *river_base }}
                        3: { string: { <<: *river_base }}
                        4: { string: { <<: *river_base }}
                        5: { string: { <<: *river_base }}
                        6: { string: { <<: *river_base }}
                        7: { string: { <<: *river_base }}
                        8: { string: { <<: *river_base }}
                        9: { string: { <<: *river_base }}
  right:
  - clock:
      date-format: "%F"
      content:
        string:
          margin: 12
          text: "{time} {date}"