Skip to content

Commit

Permalink
conkyrc adapted for the new conky 1.10 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhdz committed Nov 7, 2015
1 parent 8866866 commit afe687f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Conky Horizontal Minimalist
===========================
A minimalist horizontal config file for conky 1.9.0
A minimalist horizontal config file for conky 1.10.0

----

Expand All @@ -16,7 +16,7 @@ Notes
* Require `lm-sensors` and `hddtemp` for temperature measuring
* Uses lua for semitransparency background
* Using since Ubuntu 9.10
* Last tested on Ubuntu Gnome 14.10, Ubuntu 14.10 and Debian Wheezy 7.0
* Last tested on Ubuntu Gnome 15.10, Ubuntu 15.10
<br/>

Screenshots
Expand All @@ -38,7 +38,7 @@ Code of `draw_bg.lua` file by [londonali1010](http://londonali1010.deviantart.co
More screenshots at [davidhdz](http://davidhdz.deviantart.com/gallery/29796305)
<br/>

Conky website: [http://conky.sourceforge.net/](http://conky.sourceforge.net/)
Conky website: [http://github.com/brndnmtthws/conky](http://github.com/brndnmtthws/conky)

Ubuntu website: [http://www.ubuntu.com/](http://www.ubuntu.com/)

Expand Down
68 changes: 34 additions & 34 deletions conkyrc
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}
]]

0 comments on commit afe687f

Please sign in to comment.