Created
May 10, 2015 14:48
-
-
Save zopieux/f63a9443b76ac99f4653 to your computer and use it in GitHub Desktop.
conky for py3status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
[ | |
${if_up wlp3s0} | |
{"text": "${downspeed wlp3s0}", "color": "\#a5c261", "width": " 9.99K", "align": "right"}, | |
{"text": "${upspeed wlp3s0}", "color": "\#da4939", "width": " 9.99K", "align": "right"}, | |
{"text": "${wireless_link_qual_perc wlp3s0} ${wireless_essid wlp3s0}", "color": "\#${if_match ${wireless_link_qual_perc wlp3s0}<60}da4939${else}6d9cbe${endif}", "width": "100 FOOBARFOOBAR"}, | |
${else}${if_up enp4s0f2} | |
{"text": "${downspeed enp4s0f2}", "color": "\#a5c261", "width": " 9.99K", "align": "right"}, | |
{"text": "${upspeed enp4s0f2}", "color": "\#da4939", "width": " 9.99K", "align": "right"}, | |
${endif}${endif} | |
${if_existing /sys/class/bluetooth/hci0:35} | |
{"text": " ${exec hcitool name $(cat /sys/class/bluetooth/hci0:*/address)}", "color": "\#0461af"}, | |
${endif} | |
"home ${fs_free_perc /home}% root ${fs_free_perc /}%" | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment