diff options
author | Florian Pritz <bluewind@xinu.at> | 2020-08-10 12:28:14 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2020-09-27 15:23:37 +0200 |
commit | 7b283093d77b256368d4baa92e0dcf1647eee364 (patch) | |
tree | 89bfb5c111fbcebe9c56d3cdcb344040339a04c8 /.i3/conkyrc-perl | |
parent | 48d822feea4ef34edd24780405862e0f69552afb (diff) | |
download | dotfiles-7b283093d77b256368d4baa92e0dcf1647eee364.tar.gz dotfiles-7b283093d77b256368d4baa92e0dcf1647eee364.tar.xz |
i3/conky: Migrate to new config syntax
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.i3/conkyrc-perl')
-rw-r--r-- | .i3/conkyrc-perl | 49 |
1 files changed, 27 insertions, 22 deletions
diff --git a/.i3/conkyrc-perl b/.i3/conkyrc-perl index 56a560f..e465e11 100644 --- a/.i3/conkyrc-perl +++ b/.i3/conkyrc-perl @@ -1,25 +1,29 @@ -out_to_x no -own_window no -out_to_console yes -background no -max_text_width 0 -update_interval 0.5 -total_run_times 0 -short_units yes -if_up_strictness link -use_spacer none -override_utf8_locale no -cpu_avg_samples 6 -net_avg_samples 6 - -mpd_host localhost -mpd_port 6600 - -TEXT - -${if_match "${mpd_status}" == "Playing"} -COLOR: \#d466138 -FULLTEXT: ${mpd_artist} - ${mpd_title} (${mpd_vol}%) +conky.config = { +out_to_x = false, +own_window = false, +out_to_console = true, +background = false, +max_text_width = 0, +update_interval = 0.5, +total_run_times = 0, +short_units = true, +if_up_strictness = 'link', +use_spacer = 'none', +override_utf8_locale = false, +cpu_avg_samples = 6, +net_avg_samples = 6, +mpd_host = 'localhost', +mpd_port = 6600, +} + +conky.text = [[ + +COLOR: \#FF0000 +FULLTEXT: ${if_up tun_rz01} RZ01${endif}${if_up tun_inso} INSO${endif}${if_up tun_gemkon} GEMKON${endif} + +${if_up ens8u1u2} +COLOR: \#00FF00 +FULLTEXT: ens8u1u2 ${upspeed ens8u1u2}↑ ${downspeed ens8u1u2}↓ ${addr ens8u1u2} ${endif} ${if_up intern0} @@ -75,3 +79,4 @@ SHORTTEXT: ${time %F %H:%M:%S} FULLTEXT: ${time %a %F %H:%M:%S END_BLOCK +]] |