aboutsummaryrefslogtreecommitdiff
path: root/comet.conf
blob: 182e2415a33f11ee1cabd0b6580a14f1c66088c9 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
; vim: syn=confini ts=4 sw=4 et

[bar]
    font = "Hack 12"
    width = 1900
    height = 40
    ;x-offset = 10
    ;y-offset = 10
    background = #abc

    blocks = date, perf, try2, mus, sus

[jib]
    sus = false

[block.sus]
    type = script
    color = #fafaf2
    text-color = #000
    text = echo "$(nvidia-smi --query-gpu=utilization.gpu --format=csv,nounits,noheader)%"
    interval = 10

[block.try2]
    type=group
    blocks = try
    collapse = true
    color = #000

[block.try]
    type = text
    text-color = #a123fc
    text = ""
    color = #fff
    ;x-padding = 10
    y-padding = 10

[block.perf]
    type = group
    color = #DC143C
    spacing = 20
    blocks = cpu, ram, disk

[block.cpu]
    type = text
    text = CPU
    ;text = ""
    text-color = #fff
    color = #181818

[block.ram]
    type = ram
    text = RAM: %{used-percentage}% -- free: %{free-si}
    text-color = #fff
    color = #f0b

[block.disk]
    type = fs
    text = SSD %{used-si} / %{total} -- %{free-percentage}
    color = #18baf2
    text-color = #fff
    path = /

[block.date]
    type = date
    text = "%A %d %B    %H:%M"
    ;color = #18baf2
    color = #18baf2
    line-color = #fff, #000
    line-width = 4
    text-color = #fff

[block.mus]
    type = group
    ;color = #CCCCFF
    color = #f7f7f7
    spacing = 2
    blocks = play, next, slide

[block.play]
    type = text
    text = ""
    text-color = #111
    color = #18baf2
    ;x-padding = 5
    ;y-padding = 5

[block.next]
    type = text
    text = ""
    text-color = #111
    color = #18baf2
    x-padding = 5
    y-padding = 5

[block.slide]
    type = slider
    bar-value = 88
    ;color = #18baf2
    bar-width = 120
    bar-height = 17
    bar-color = #f1baee, #CCCCFF
    bar-line-color = #000
    bar-line-width = 10
    bar-bg-color = #fff
    seekable = true
    knob = rectangle
    ;knob = triangle
    knob-color = #ababab
    knob-line-color = #000
    knob-line-width = 2
    knob-height = 12
    knob-width = 20
    knob-x-offset = 0
    knob-y-offset = 0
    knob-rotation = 90

    ;action-left-click = just
    ;on-left-click = just
    ;when-left-click = just
    ;left-click = just
    left-click-bar = just

[action.just]
    ;block.slide.color = #18baf2

    target = block.slide
    set-knob = triangle
    set-knob-color = #fff

    target = block.next
    set-text = "ciao"

    run-sync = echo works

    ;target = block.mus
    ;set-blocks = bogus