Skip to content

Instantly share code, notes, and snippets.

@cirrusUK
Last active December 28, 2015 17:29
Show Gist options
  • Select an option

  • Save cirrusUK/7535948 to your computer and use it in GitHub Desktop.

Select an option

Save cirrusUK/7535948 to your computer and use it in GitHub Desktop.
conkyrc for i3bar
out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0
# Update interval in seconds
update_interval 1
# 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 4 4 4
template0 80FF00
template1 808080
# Stuff after 'TEXT' will be formatted on screen
TEXT
# JSON for i3bar
[\
# Music
${if_match "Playing" == "$mpd_status"}
{"full_text":"мρđ αυđίσ οùτρυτ ▶ ♪","10E889":"\#${template1}","separator":false,"separator_block_width":6},\
{"full_text":"$mpd_artist - $mpd_title | $mpd_album","color":"\#${template0}","separator":false,"separator_block_width":6},\
$endif
# Volume:
{"full_text":"♬ ▏νσιυмε →","10E889":"\#${template1}","separator":false,"separator_block_width":6},\
{"full_text":"${exec amixer get Master -M | grep -oE "[[:digit:]]*%"}","color":"\#${template0}","separator":false,"separator_block_width":6},\
# LOAD:
{"full_text":"▏ ℓσαđ →","10E889":"\#${template1}","separator":false,"separator_block_width":6},\
{"full_text":"${cpu cpu0}%","color":"\#${template0}","separator":false,"separator_block_width":6},\
# Memory:
{"full_text":"▏ғяεε мεмσяү →","10E889":"\#${template1}","separator":false,"separator_block_width":6},\
{"full_text":"${memeasyfree}","color":"\#${template0}","separator":false,"separator_block_width":6},\
#Disk
{"full_text":"▏яσσт:","ffffff":"\#${template1}","separator":false,"separator_block_width":6},\
{"full_text":"${fs_used /}/${fs_size /}","color":"\#${template0}","separator":false,"separator_block_width":6},\
{"full_text":"▏нσмε:","ffffff":"\#${template1}","separator":false,"separator_block_width":6},\
{"full_text":"${fs_used /home/}/${fs_size /home/}","color":"\#${template0}","separator":false,"separator_block_width":6},\
# NETWORK:
${if_up eth0}
{"full_text":"▏εтнεяηεт ├","ffffff":"\#${template1}","separator":false,"separator_block_width":6},\
{"full_text":"${addr eth0}","color":"\#${template0}","separator":false,"separator_block_width":6},\
${endif}
# DateTime:
{"full_text":"├ тίмε","ffffff":"\#${template1}","separator":false,"separator_block_width":6},\
{"full_text":"${time %d.%m.%Y, %H:%M}","color":"\#993232","separator":false,"separator_block_width":6}\
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment