aboutsummaryrefslogtreecommitdiff
path: root/kube/alrest/glance/configmap.yaml
blob: e44dc7ab2bad4c4ccf4d0d1fa8fc60114b28f083 (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
apiVersion: v1
kind: ConfigMap
metadata:
  name: glance
data:
  glance.yml: |
    pages:
      - name: Home
        columns:
          - size: small
            widgets:
              - type: search
                search-engine: duckduckgo
                bangs:
                  - title: YouTube
                    shortcut: "!yt"
                    url: https://www.youtube.com/results?search_query={QUERY}

              - type: calendar

              - type: weather
                location: Ottawa, Canada

              - type: twitch-channels
                channels:
                  - lithiumfox
                  - oatsngoats
                  - gamesdonequick

          - size: full
            widgets:
              - type: group
                widgets:
                  - type: hacker-news
                    limit: 20
                    collapse-after: 15
                  - type: lobsters
                    limit: 20
                    collapse-after: 15
                  - type: reddit
                    subreddit: tulpas
                    limit: 20
                    collapse-after: 15
                  - type: reddit
                    subreddit: homelab
                    limit: 20
                    collapse-after: 15
              
          - size: small
            widgets:
              - type: extension
                url: http://mi.mi.svc.alrest.xeserv.us/glance
                cache: 30m
                allow-potentially-dangerous-html: true
              - type: reddit
                subreddit: technology
                style: vertical-cards
                limit: 5

    theme:
      background-color: 50 1 6
      primary-color: 24 97 58
      negative-color: 209 88 54

    branding:
      custom-footer: |
        <p>From Within</p>