Files
hlwm-config/conkyrc
Thomas Ruoff c0af622d2b couple of changes 😓
2021-11-28 23:49:39 +01:00

41 lines
1.3 KiB
Plaintext

conky.config = {
--# output to X <yes/no>
out_to_x = false,
--# Create own window to draw <yes/no>
own_window = false,
--# Print everything to console?
out_to_console = true,
--# 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 = false,
--# 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,
--# 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 = true,
use_spacer = 'left',
};
conky.text = [[
%{c} ${exec sensors | grep -A 3 acpitz-acpi-0 | grep temp1 | awk '{print $2}'} | load: ${loadavg 1} ${loadavg 2} ${loadavg 3} | ram: ${memperc}% | swap: ${swapperc} | processes: ${processes} | ${if_up wlan0} wlan: ${wireless_bitrate} ${wireless_link_qual_perc wlan0}% ${wireless_essid wlan0} |$endif ${if_up eth0:} lan on |$endif bat ${exec $HOME/.config/herbstluftwm/conky-bat/index.js}
]];