dotfiles

personal configurations for my systems and programs
git clone git@git.eonndev.com/dotfiles.git
Log | Files | Refs

commit 869f9fa3f07846b1f8cbb92b49cf6ae470408cbd
parent 7a829963d22f77fc8d240a69c7ef91b9e162fcac
Author: iressa <ian@eonndev.com>
Date:   Tue, 18 May 2021 15:46:53 -0400

Some fixes to both conky configs

Diffstat:
M.conkyrc | 24+++++++++++-------------
M.conkyrc_tele | 8+++-----
2 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/.conkyrc b/.conkyrc @@ -1,19 +1,17 @@ -background no -format_human_readable yes -out_to_console yes -out_to_x no -total_run_times 0 -update_interval 1 -#use_spacer left -use_spacer none +conky.config = { + background = false, + format_human_readable = true, + out_to_console = true, + out_to_x = false, + total_run_times = 0, + update_interval = 1, + use_spacer = 'none' +} -#/dev/sda ${fs_free /} /dev/sdb1 ${fs_free /mnt/sdb1} /dev/sdb2 ${fs_free /mnt/sdb2} /dev/sdc ${fs_free /mnt/sdc} | \ -#Video Fan ${exec sensors | grep fan1 | cut -d ":" -f 2 | cut -c9-16} | \ - -TEXT +conky.text = [[ RAM ${memperc}% ${membar} | \ CPU Usage ${cpu}% ${cpubar} | \ -${exec nmcli device | grep wlp4s0 | sed -e "s/[[:space:]]\+/ /g"} Up: ${upspeed wlp4s0} - Down: ${downspeed wlp4s0} | \ Video Temp ${exec sensors | grep mem | cut -d "+" -f 2 | cut -c1-6} | \ ${exec setxkbmap -query | grep -q "colemak" && echo "colemak" || echo "qwerty"} | \ ${time %A} ${time %D} ${time %H}:${time %M}:${time %S} +]] diff --git a/.conkyrc_tele b/.conkyrc_tele @@ -24,11 +24,9 @@ conky.config = { } conky.text = [[ - ${if_match ${time %H} > 4}${if_match ${time %H} < 12}${alignr}Good morning, Ian\ - ${else}\ - ${if_match ${time %H} < 17}${alignr}Good afternoon, Ian\ - ${else}${alignr}Good evening, Ian\ - ${endif}${endif}${endif} + ${if_match ${time %H} >= 4}\ + ${if_match ${time %H} < 12}${alignr}Good morning, Ian${else}${if_match ${time %H} <= 17}${alignr}Good afternoon, Ian${endif}${endif}\ + ${else}${alignr}Good evening, Ian${endif} ${hr} ${alignc}${time %A} ${time %D} ${time %H}:${time %M}:${time %S} ${hr}