Conky: Re-rice and reinstate

This commit is contained in:
Salt 2018-06-21 12:44:42 -05:00
parent 7517133b05
commit b6af2ad110
2 changed files with 24 additions and 17 deletions

View File

@ -94,6 +94,10 @@ if [[ $(pgrep compton) ]]; then
killall compton killall compton
fi fi
compton& compton&
if [[ $(pgrep conky) ]]; then
killall conky
fi
conky&
if [[ $(pgrep dunst) ]]; then if [[ $(pgrep dunst) ]]; then
killall dunst killall dunst
fi fi

View File

@ -5,7 +5,10 @@ conky.config = {
own_window_title = 'Conky', own_window_title = 'Conky',
own_window_class = 'Conky', own_window_class = 'Conky',
own_window_type = 'desktop', 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, double_buffer = true,
cpu_avg_samples = 2, cpu_avg_samples = 2,
@ -14,7 +17,7 @@ conky.config = {
update_interval = 1, update_interval = 1,
use_xft = true, use_xft = true,
font = 'Roboto:size=10', font = 'Roboto:style=Light:size=10',
default_color = '#ebdbb2', default_color = '#ebdbb2',
color1 = '282828', -- Background color1 = '282828', -- Background
color2 = 'ebdbb2', -- Foreground color2 = 'ebdbb2', -- Foreground
@ -39,30 +42,30 @@ conky.config = {
} }
conky.text = [[ conky.text = [[
${image ~/.face -p 0,0 -s 48x48}${alignr}$nodename ${font Roboto:style=Medium:size=30}${alignr}$nodename$font
${alignr}${time %A, %B %d, %Y} ${font Roboto:style=Light:size=17}${alignr}${time %I:%M %p}
${alignr}${time %I:%M %p} ${font Roboto:style=Light:size=12}${alignr}${time %A, %B %d, %Y}$font
${color3}$hr$color ${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 ${color8}${cpugraph cpu0 40 $color8 $color4 -t}$color
${color3}$hr$color ${color3}$hr$color
Memory:${alignr}$mem / $memmax ${font Roboto:style=Medium:size=10}Memory:$font${alignr}$mem / $memmax
${color9}${memgraph 40}$color ${color9}${memgraph 40}$color
${color3}$hr$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} ${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} ${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} ${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} ${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 ${color6}${downspeedgraph enp0s20f0u2 20}$color$endif
${color3}$hr$color ${color3}$hr$color
Statistics: ${font Roboto:style=Medium:size=10}Statistics:$font
Operating System: $sysname $kernel Operating System: $sysname $kernel
Battery: $battery_percent% charged, $battery_time remaining Battery: $battery_percent% charged, $battery_time remaining
Uptime: $uptime Uptime: $uptime
Processes: $processes total, $running_processes running Processes: $processes total, $running_processes running
]] ]]