From b6af2ad110973668d18a6da840474ef2863a0ad8 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 21 Jun 2018 12:44:42 -0500 Subject: [PATCH] Conky: Re-rice and reinstate --- .config/bspwm/bspwmrc | 4 ++++ .config/conky/conky.conf | 37 ++++++++++++++++++++----------------- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 63784500..f488e5cb 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -94,6 +94,10 @@ if [[ $(pgrep compton) ]]; then killall compton fi compton& +if [[ $(pgrep conky) ]]; then + killall conky +fi +conky& if [[ $(pgrep dunst) ]]; then killall dunst fi diff --git a/.config/conky/conky.conf b/.config/conky/conky.conf index 37ff5dd1..89db552a 100644 --- a/.config/conky/conky.conf +++ b/.config/conky/conky.conf @@ -5,7 +5,10 @@ conky.config = { own_window_title = 'Conky', own_window_class = 'Conky', own_window_type = 'desktop', - own_window_colour = '282828', + own_window_colour = '000000', + own_window_transparent = true, + own_window_argb_visual = true, + own_window_argb_value = 0, double_buffer = true, cpu_avg_samples = 2, @@ -14,7 +17,7 @@ conky.config = { update_interval = 1, use_xft = true, - font = 'Roboto:size=10', + font = 'Roboto:style=Light:size=10', default_color = '#ebdbb2', color1 = '282828', -- Background color2 = 'ebdbb2', -- Foreground @@ -39,30 +42,30 @@ conky.config = { } conky.text = [[ -${image ~/.face -p 0,0 -s 48x48}${alignr}$nodename -${alignr}${time %A, %B %d, %Y} -${alignr}${time %I:%M %p} +${font Roboto:style=Medium:size=30}${alignr}$nodename$font +${font Roboto:style=Light:size=17}${alignr}${time %I:%M %p} +${font Roboto:style=Light:size=12}${alignr}${time %A, %B %d, %Y}$font ${color3}$hr$color -CPU:${alignr}$freq_g GHz +${font Roboto:style=Medium:size=10}CPU:$font${alignr}$freq_g GHz ${color8}${cpugraph cpu0 40 $color8 $color4 -t}$color ${color3}$hr$color -Memory:${alignr}$mem / $memmax +${font Roboto:style=Medium:size=10}Memory:$font${alignr}$mem / $memmax ${color9}${memgraph 40}$color ${color3}$hr$color -Disk:${color7}${diskiograph /dev/sda 40}$color +${font Roboto:style=Medium:size=10}Disk:$font${color7}${diskiograph /dev/sda 40}$color ${color3}$hr$color${if_up wlp1s0} -WLAN:${alignr}${addr wlp1s0} on $wireless_essid +${font Roboto:style=Medium:size=10}WLAN:$font${alignr}${addr wlp1s0} on $wireless_essid ${color6}${downspeedgraph wlp1s0 20}$color$endif${if_up wlp5s0} -WLAN:${alignr}${addr wlp5s0} on $wireless_essid +${font Roboto:style=Medium:size=10}WLAN:$font${alignr}${addr wlp5s0} on $wireless_essid ${color6}${downspeedgraph wlp5s0 20}$color$endif${if_up enp0s31f6} -Ethernet:${alignr}${addr enp0s31f6} +${font Roboto:style=Medium:size=10}Ethernet:$font${alignr}${addr enp0s31f6} ${color6}${downspeedgraph enp0s31f6 20}$color$endif${if_up enp0s20f0u2} -USB Tether:${alignr}${addr enp0s20f0u2} +${font Roboto:style=Medium:size=10}USB Tether:$font${alignr}${addr enp0s20f0u2} ${color6}${downspeedgraph enp0s20f0u2 20}$color$endif ${color3}$hr$color -Statistics: - Operating System: $sysname $kernel - Battery: $battery_percent% charged, $battery_time remaining - Uptime: $uptime - Processes: $processes total, $running_processes running +${font Roboto:style=Medium:size=10}Statistics:$font +Operating System: $sysname $kernel +Battery: $battery_percent% charged, $battery_time remaining +Uptime: $uptime +Processes: $processes total, $running_processes running ]]