-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conkyrc adapted for the new conky 1.10 syntax
- Loading branch information
Showing
2 changed files
with
37 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
alignment bm | ||
conky.config = { | ||
alignment = 'bottom_middle', | ||
|
||
cpu_avg_samples 1 | ||
net_avg_samples 1 | ||
update_interval 1 | ||
cpu_avg_samples = 1, | ||
net_avg_samples = 1, | ||
update_interval = 1, | ||
|
||
default_color white | ||
default_outline_color white | ||
default_shade_color white | ||
color2 gray50 | ||
|
||
draw_borders no | ||
draw_shades no | ||
draw_graph_borders no | ||
draw_outline no | ||
default_color = 'white', | ||
default_outline_color = 'white', | ||
default_shade_color = 'white', | ||
color2 = 'gray50', | ||
|
||
border_width 0 | ||
use_xft = true, | ||
font = 'DejaVu Sans Mono:size=9', | ||
|
||
gap_x 0 | ||
gap_y 0 | ||
|
||
draw_borders = false, | ||
draw_shades = false, | ||
draw_graph_borders = false, | ||
draw_outline = false, | ||
|
||
use_xft yes | ||
xftfont monospace-9 | ||
xftalpha 0.8 | ||
border_width = 0, | ||
|
||
own_window yes | ||
own_window_class Conky | ||
own_window_type normal | ||
own_window_transparent yes | ||
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | ||
own_window_argb_visual yes | ||
gap_x = 0, | ||
gap_y = 0, | ||
|
||
own_window = true, | ||
own_window_type = 'normal', | ||
own_window_transparent = true, | ||
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', | ||
own_window_argb_visual = true, | ||
|
||
use_spacer left | ||
double_buffer yes | ||
no_buffers no | ||
use_spacer = 'left', | ||
double_buffer = true, | ||
no_buffers = false, | ||
|
||
total_run_times 0 | ||
background yes | ||
total_run_times = 0, | ||
background = true, | ||
|
||
lua_load ~/.conky/draw_bg.lua | ||
lua_draw_hook_pre draw_bg | ||
lua_load = '~/.conky/draw_bg.lua', | ||
lua_draw_hook_pre = 'draw_bg', | ||
} | ||
|
||
TEXT | ||
${color2}up: ${color}$uptime ${color2}cpu1: ${color}${cpu cpu1}% ${color2}cpu2: ${color}${cpu cpu2}% ${color2}Frec: ${color}${freq_g} Ghz ${color2}Tcpu: ${color}${acpitemp}°C ${color2}Thdd:${color}${hddtemp /dev/sda}°C ${color2}ram: ${color} $memperc% ${color2}swap: ${color}$swapperc% ${if_existing /proc/net/route eth0} ${color2}ip: ${color}${addr eth0} ${color2}net: dn${color} ${downspeed eth0} ${color2}up${color} ${upspeed eth0}${else}${if_up eth1}${color2}ip: ${color}${addr eth1} ${color2}net: dn${color} ${downspeed eth1} ${color2}up${color} ${upspeed eth1}${else}${if_up wlan0}${color2}ip: ${color}${addr wlan0} ${color2}net: dn${color} ${downspeed wlan0} ${color2}up${color} ${upspeed wlan0}${endif} | ||
conky.text = [[ | ||
${color2}up: ${color}$uptime ${color2}cpu1: ${color}${cpu cpu1}% ${color2}cpu2: ${color}${cpu cpu2}% ${color2}Frec: ${color}${freq_g} Ghz ${color2}Tcpu: ${color}${acpitemp}°C ${color2}Thdd:${color}${hddtemp /dev/sda}°C ${color2}ram: ${color} $memperc% ${color2}swap: ${color}$swapperc% ${if_existing /proc/net/route enp7s0} ${color2}ip: ${color}${addr enp7s0} ${color2}net: dn${color} ${downspeed enp7s0} ${color2}up${color} ${upspeed enp7s0}${else}${if_up wlp4s0}${color2}ip: ${color}${addr wlp4s0} ${color2}net: dn${color} ${downspeed wlp4s0} ${color2}up${color} ${upspeed wlp4s0}${endif}${endif} | ||
]] |