Skip to content

Instantly share code, notes, and snippets.

@LefterisJP
Created June 13, 2016 17:43
Show Gist options
  • Save LefterisJP/662bac3cacdddd1104bb7b6f22476a25 to your computer and use it in GitHub Desktop.
Save LefterisJP/662bac3cacdddd1104bb7b6f22476a25 to your computer and use it in GitHub Desktop.
Lefteris' conkyrc
out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0
# Update interval in seconds
update_interval 2.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
short_units yes
# How strict should if_up be when testing an interface for being up?
# The value is one of up, link or address, to check for the interface
# being solely up, being up and having link or being up, having link
# and an assigned IP address.
if_up_strictness address
# Add spaces to keep things from moving about? This only affects certain objects.
# use_spacer should have an argument of left, right, or none
use_spacer left
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# Stuff after 'TEXT' will be formatted on screen
TEXT
# JSON for i3bar
[
{"full_text": " Ξ/€ : ${execi 60 echo `curl -s https://api.kraken.com/0/public/Ticker?pair=ETHEUR` | grep -Po '"c":.*?[^\\]",' | grep -Po '[0-9.]+'}", "color":"\#D683FF"},
{"full_text": " Ð/Ξ: ${execi 60 echo `curl -s https://api.kraken.com/0/public/Ticker?pair=DAOETH` | grep -Po '"c":.*?[^\\]",' | grep -Po '[0-9.]+'}", "color":"\#D683FF"},
{"full_text": " ❤ $acpitemp°C [$cpu%] ","color":
${if_match ${acpitemp}<50}"\#007000"${else}"\#E60000"${endif}},
{"full_text": " I/O: $diskio", "color":"\#D683FF"},
{"full_text": " GPU: ${execi 60 nvidia-smi -q -d TEMPERATURE | grep Gpu | cut -c39-40}°C",
"color": "\#3E63D1"},
{"full_text": " ≣ [$memeasyfree] ", "color":"\#B58900"},
{"full_text": " ⛁ / [${fs_free /}] ", "color": "\#99CC33"},
{"full_text": " ⛁ /home [${fs_free /home}] ", "color": "\#99CC33"},
{"full_text": " ≈ ${wireless_essid wlan0} [${wireless_link_qual_perc wlan0}%] ","color":"\#33CC99"},
{"full_text": " ☍ eno1 [${addr eno1}] ","color":"\#33CC99"},
{"full_text": " up [${uptime}] ", "color": "\#3399CC"},
{"full_text": " ${time %Y-%m-%d %H:%M:%S} "}
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment