#### Conky configuration file ## to replace the i3status for i3bar # Only stdio output out_to_x no own_window no out_to_console yes background no max_text_width 0 # Update interval in seconds update_interval 0.5 # 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 link # 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 [ # Free storage space in /home { "full_text" : " ${fs_free /home} Free" , "color" : "\#ffffff" }, # RAM { "full_text" : " ${memperc}% (${mem}/${memmax})" , "color" : \ ${if_match ${memperc}<90}"\#ffffff"${else}"\#ff0000"${endif} }, # CPU { "full_text" : " ${cpu}% ${freq_g 1}GHz", "color" : \ ${if_match ${cpu}<90}"\#ffffff"${else}"\#ff0000"${endif}}, # Networking # ${if_up wlp0s20f3} { "full_text" : " (${wireless_essid wlp0s20f3}) ${addr wlp0s20f3}" , "color" : "\#00ff00" },${endif}\ # ${if_up enp4so} { "full_text" : "Eth: ${addr enp4so}" , "color" : "\#00ff00" },${endif}\ # All the charges for the Battery # This looks aweful because conky doesn't have an "else if" # icon cheet sheet https://fortawesome.github.io/Font-Awesome/cheatsheet/ ${if_existing /sys/class/power_supply/BAT0}\ ${if_match ${battery_percent}>15}\ ${if_match ${battery_percent}>35}\ ${if_match ${battery_percent}>60}\ ${if_match ${battery_percent}>80}\ # 100% ish { "full_text" : " ${battery_percent}%(${battery_time})", "color" : "\#ffffff" }, \ ${else}\ # less than 75% { "full_text" : " ${battery_percent}%(${battery_time})", "color" : "\#ffffff" }, \ ${endif}\ ${else}\ # less than 50% { "full_text" : " ${battery_percent}%(${battery_time})", "color" : "\#ffffff" }, \ ${endif}\ ${else}\ # 20ish % charge { "full_text" : " ${battery_percent}%(${battery_time})", "color" : "\#ff8800" }, \ ${endif}\ ${else}\ #empty battery { "full_text" : " ${battery_percent}%(${battery_time})", "color" : "\#ff0000" }, \ ${endif}\ ${endif}\ # Volume { "full_text" : " ${exec amixer get Master -M | grep -oE -m1 "[[:digit:]]*%"}", "color" : "\#ffffff"}, # Time { "full_text" : " ${time %y/%m/%d (%a) %H:%M:%S}" , "color" : "\#ff8800"} ],