converted conkyrc config to new format

This commit is contained in:
Thomas Ruoff
2020-08-10 22:19:28 +02:00
parent 158105b0be
commit a70017231b

52
conkyrc
View File

@@ -1,36 +1,40 @@
## output to X <yes/no>
out_to_x no
conky.config = {
--# output to X <yes/no>
out_to_x = false,
## Create own window to draw <yes/no>
own_window no
--# Create own window to draw <yes/no>
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}
]];