Skip to content

Instantly share code, notes, and snippets.

@lwertzui
Created October 22, 2025 10:28
Show Gist options
  • Select an option

  • Save lwertzui/1965b43bed0703bcf36ce640dee5d572 to your computer and use it in GitHub Desktop.

Select an option

Save lwertzui/1965b43bed0703bcf36ce640dee5d572 to your computer and use it in GitHub Desktop.
conky config and service file
conky.config = {
update_interval = 1.0,
double_buffer = true,
use_xft = true,
font = 'Terminus:style=Regular:pixelsize=12',
override_utf8_locale = true,
default_color = '#cccccc',
own_window_class = 'Conky',
own_window = false,
own_window_type = 'desktop',
alignment = 'top_left',
gap_x = 10,
gap_y = 15,
minimum_width = 1200, minimum_height = 100,
maximum_width = 1400,
draw_shades = yes,
default_shade_color = black,
};
conky.text = [[
${color #444444}${exec journalctl -n27 --no-pager | head -n1}
${color #666666}${exec journalctl -n28 --no-pager | head -n1}
${color #888888}${exec journalctl -n29 --no-pager | head -n1}
${color #aaaaaa}${exec journalctl -n30 --no-pager | head -n1}
${exec journalctl -n31 --no-pager}
]];
[Unit]
Description=Conky system monitor
After=graphical.target
[Service]
ExecStart=/usr/bin/conky --config=/home/wertzui/.config/conky/conky-left.conf
Restart=on-failure
RestartSec=5
Environment=DISPLAY=:0
Environment=XAUTHORITY=%h/.Xauthority
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment