From a70017231b6eeaed70c817afe9fbd7d18034ba9d Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Mon, 10 Aug 2020 22:19:28 +0200 Subject: [PATCH] converted conkyrc config to new format --- conkyrc | 52 ++++++++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/conkyrc b/conkyrc index 678fe40..4c45fee 100644 --- a/conkyrc +++ b/conkyrc @@ -1,36 +1,40 @@ -## output to X -out_to_x no +conky.config = { +--# output to X + out_to_x = false, -## Create own window to draw -own_window no +--# Create own window to draw + own_window = false, -## Print everything to console? -out_to_console yes +--# Print everything to console? + out_to_console = true, -## Use double buffering (reduces flicker, not needed for console output) -double_buffer no +--# Use double buffering (reduces flicker, not needed for console output) + double_buffer = false, -## Set to yes if you want Conky to be forked in the background -background no +--# Set to yes if you want Conky to be forked in the background + background = false, -## Update interval in seconds -update_interval 1.0 +--# Update interval in seconds + update_interval = 1.0, -## This is the number of times Conky will update before quitting. -## Set to zero to run forever. -total_run_times 0 +--# This is the number of times Conky will update before quitting. +--# Set to zero to run forever. + total_run_times = 0, -## 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 +--# 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', -## Force UTF8? note that UTF8 support required XFT -override_utf8_locale yes +--# Force UTF8? note that UTF8 support required XFT + override_utf8_locale = true, -use_spacer left + use_spacer = 'left', -TEXT +}; + +conky.text = [[ %{c} load: ${loadavg 1} ${loadavg 2} ${loadavg 3} | ram: ${memperc}% | swap: ${swapperc} | processes: ${processes} | ${if_up wlan0} wlan:${wireless_link_qual_perc wlan0}% ${wireless_essid wlan0} ↓${downspeed wlan0} ↑${upspeed wlan0} |$endif ${if_up enp0s25:} lan: ↓${downspeed wlan0} ↑${upspeed wlan0} |$endif bat ${exec $HOME/.config/herbstluftwm/conky-bat/index.js} +]];