Skip to content

Instantly share code, notes, and snippets.

@sarnold
Created April 10, 2024 00:14
Show Gist options
  • Save sarnold/bd9d6ab87223add0dd51534f020a0c4f to your computer and use it in GitHub Desktop.
Save sarnold/bd9d6ab87223add0dd51534f020a0c4f to your computer and use it in GitHub Desktop.
conky over screen in one line
-- ~/.conkyrc
conky.config = {
out_to_x = false,
out_to_console = true,
total_run_times = 1 -- must be 1, screen will do the refreshing, not Conky.
};
-- EVERYTHING MUST BE ON A SINGLE LINE!
conky.text = [[${time %H:%M}|free space:${fs_free /}|$loadavg|free mem:$memeasyfree]]
# ~/.screenrc
hardstatus on
backtick 1 5 5 conky -c /home/<user>/.conkyrc
hardstatus alwayslastline "%=%1`"
@sarnold
Copy link
Author

sarnold commented Apr 10, 2024

Installation:

  1. remove the 'dot' prefix from each filename
  2. replace with actual username
  3. drop the files in username's home directory
  4. run screen

As needed: edit the single line in the first file with your own conky items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment