aboutsummaryrefslogtreecommitdiffstats
path: root/conky.conf.in
blob: cc03a28206d27c6e0075b41e7b5a50a67683b19d (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
-- Conky Lua dashboard, rendered by unified-desktop-theme.
--
-- Generated from conky.conf.in for scheme @SCHEME@. Do not edit the rendered
-- conky.conf: the next install.sh overwrites it. Edit this template.
conky.config = {
  out_to_x = false,
  out_to_wayland = true,
  own_window = true,
  -- 'normal', not 'desktop': a desktop-type window is a layer-surface at
  -- level 0 and Hyprland cannot assign it to a workspace, which is the whole
  -- point of this dashboard.
  own_window_type = 'normal',
  -- Distinct from the plain 'Conky' class used by any desktop-layer instance,
  -- so the windowrules for one cannot match the other.
  own_window_class = 'conky-dash',
  -- Translucency via own_window_colour '#AARRGGBB'. NOT own_window_argb_visual
  -- (removed in conky 1.24: ARGB is always on when available) nor
  -- own_window_argb_value (deprecated); both emit warnings on this build.
  -- c8 = 200/255 alpha. The colour follows the palette: @BODY_SHADE@ with its
  -- leading '#' stripped, so a scheme switch recolours the backdrop too.
  own_window_colour = '#c8@BODY_SHADE_RAW@',
  -- The drawing surface, which Hyprland's fullscreen rule does NOT resize:
  -- the window goes fullscreen but conky keeps drawing at its minimum size, so
  -- a smaller value leaves the backdrop covering only part of the screen with
  -- bare wallpaper beside it. Set to the primary monitor (DP-1, 2560x1080).
  -- On a different monitor the grid still fills whatever surface it gets.
  minimum_width = 2560,
  minimum_height = 1080,
  double_buffer = true,
  update_interval = 2,
  total_run_times = 0,
  draw_borders = false,
  draw_shades = false,
  override_utf8_locale = true,
  lua_load = '~/.config/conky/dashboard.lua',
  lua_draw_hook_post = 'main',
  color1 = '@HEADING@',
  color2 = '@LABEL@',
  color3 = '@RULE@',
  color4 = '@VALUE@',
  color5 = '@HIGHLIGHT@',
  color6 = '@OK@',
  color7 = '@CRITICAL@',
  color8 = '@WARNING@',
  default_color = '@BODY@',
  default_outline_color = '@BODY_OUTLINE@',
  default_shade_color = '@BODY_SHADE@',
}

-- Cairo output covers conky.text, so nothing here is visible. The execi still
-- fires on schedule: verified with a probe config whose only text was an execi
-- producing no output. This is what runs the weather, disks and cache
-- samplers, and tying it to conky means nothing fetches while the dashboard is
-- down.
conky.text = [[${execi 900 ~/.config/conky/bin/weather-fetch.sh}${execi 60 ~/.config/conky/bin/disks-sample.sh}${execi 900 ~/.config/conky/bin/cache-sample.sh}]]