Skip to content

Instantly share code, notes, and snippets.

@naeramarth7
Created August 5, 2014 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naeramarth7/974921142c305ca5ba43 to your computer and use it in GitHub Desktop.
Save naeramarth7/974921142c305ca5ba43 to your computer and use it in GitHub Desktop.
conkyrc for i3
out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0
# Prevent flickering
double_buffer yes
# 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 noneq
use_spacer left
# Force UTF8? note that UTF8 support required Xft
override_utf8_locale yes
# Enable Xft and set font
use_xft yes
# 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
# Alternative primary color: #D78A0C
[
# Kernel version
{
"full_text": "${kernel} ",
"color": "\#9A9A9A"
},
# Upload speed
{
"full_text": " ⬆ ",
"color": "\#9A9A9A",
"separator": false
}, {
"full_text": "${upspeed wlp2s0} ",
"color": "\#FFFFFF"
},
# Download speed
{
"full_text": " ⬇ ",
"color": "\#9A9A9A",
"separator": false
}, {
"full_text": "${downspeed wlp2s0} ",
"color": "\#FFFFFF"
},
# Free space on /
{ "full_text": " / ",
"color": "\#9A9A9A",
"separator": false
}, {
"full_text": "${fs_free /} ",
"color": "\#FFFFFF"
},
# Free space on /home
{
"full_text": " /home ",
"color": "\#9A9A9A",
"separator": false
}, {
"full_text": "${fs_free /home} ",
"color": "\#FFFFFF"
},
# CPU usage
{
"full_text": " ⬣ ",
"color": "\#9A9A9A",
"separator": false
}, {
# "full_text": "${cpu}% ",
"full_text": "${cpu}%",
"color": "\#FFFFFF"
},
# Memory usage
{
"full_text": " ⬡ ",
"color": "\#9A9A9A",
"separator": false
}, {
"full_text": "${memperc}% ",
"color": "\#FFFFFF"
},
# Battery
{
"full_text": " ↯ ",
"color": "\#9A9A9A",
"separator": false
}, {
"full_text": "${battery_short} ",
"color": "\#FFFFFF",
"separator": false
}, {
"full_text": "${battery_time} ",
"color": "\#FFFFFF"
},
# Date
{
"full_text": " ${time %a}, ${time %d %b %Y} ",
"color": "\#9A9A9A"
},
# Time
{
"full_text": " ${time %H}:${time %M} ",
"color": "\#FFFFFF"
}
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment