Skip to content

Instantly share code, notes, and snippets.

@jesg
Created April 1, 2014 16:40
i3-conky-configuration
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 4
# mpd settings
mpd_host localhost
mpd_port 6600
# Stuff after 'TEXT' will be formatted on screen
TEXT
# JSON for i3bar
[
${if_mpd_playing}{ "full_text" : "${mpd_artist} - ${mpd_title}", "color" : "\#d466138"},${endif}
{ "full_text" : "/ ${fs_free /}" , "color" : "\#dce7ed" },
{ "full_text" : "/home ${fs_free /home}" , "color" : "\#dce7ed" },
${if_up enp5s0}{ "full_text" : "Wire ${addr enp5s0} \u2191${downspeedf enp5s0}k \u2193${upspeedf enp5s0}k", "color" : "\#00FF00"},${endif}
${if_up wlp3s0}{ "full_text" : "Wifi ${wireless_link_qual_max} ${addr wlp3s0} \u2191${downspeedf wlp3s0}k \u2193${upspeedf wlp3s0}k", "color" : "\#00FF00"},${endif}
{ "full_text" : "IO \u2191${diskio_read} \u2193${diskio_write}", "color" : "\#dce7ed"},
{ "full_text" : "CPU ${cpu cpu}%", "color" : "\#dce7ed"},
{ "full_text" : "RAM ${memperc}%" , "color" :
${if_match ${memperc}<90}"\#ffffff"${else}"\#ff0000"${endif} },
{ "full_text" : "${battery_short} ${battery_time}", "color" : "\#dce7ed" },
{ "full_text" : "${time %F %R}", "color" : "\#ccffff"}
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment