Somehow, cairo FINALLY works with conky now
This commit is contained in:
parent
0ba61fc0e5
commit
a502df33ce
3 changed files with 11 additions and 9 deletions
|
@ -103,7 +103,7 @@ function conky_main_box()
|
||||||
y = conky_window.text_start_y - 10,
|
y = conky_window.text_start_y - 10,
|
||||||
w = conky_window.text_width + 20,
|
w = conky_window.text_width + 20,
|
||||||
h = conky_window.text_height + 20,
|
h = conky_window.text_height + 20,
|
||||||
colour = {{1,0x000000,0.8}},
|
colour = {{1,0x000000,0.4}},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
10
conkyrc
10
conkyrc
|
@ -1,14 +1,9 @@
|
||||||
lua_load ~/.conky/box.lua
|
|
||||||
background yes
|
background yes
|
||||||
use_xft yes
|
use_xft yes
|
||||||
xftfont terminus:123:size=8
|
xftfont tamsyn:size=8
|
||||||
xftalpha 0.1
|
xftalpha 0.1
|
||||||
update_interval 2.0
|
update_interval 2.0
|
||||||
total_run_times 0
|
total_run_times 0
|
||||||
#own_window yes
|
|
||||||
#own_window_type normal
|
|
||||||
#own_window_transparent yes
|
|
||||||
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
|
|
||||||
double_buffer yes
|
double_buffer yes
|
||||||
minimum_size 250 5
|
minimum_size 250 5
|
||||||
maximum_width 400
|
maximum_width 400
|
||||||
|
@ -28,7 +23,8 @@ cpu_avg_samples 2
|
||||||
net_avg_samples 1
|
net_avg_samples 1
|
||||||
override_utf8_locale no
|
override_utf8_locale no
|
||||||
use_spacer yes
|
use_spacer yes
|
||||||
lua_draw_hook_pre main_box
|
lua_load ~/.conkybox.lua
|
||||||
|
lua_draw_hook_pre conky_main_box
|
||||||
|
|
||||||
TEXT
|
TEXT
|
||||||
${font Arial:size=20}${color Tan1}${alignc}GNU${color RoyalBlue}LINUX$font
|
${font Arial:size=20}${color Tan1}${alignc}GNU${color RoyalBlue}LINUX$font
|
||||||
|
|
|
@ -13,11 +13,17 @@ function linkmy
|
||||||
$CMD $INSTALL_BASEDIR/$1 $HOME/$2
|
$CMD $INSTALL_BASEDIR/$1 $HOME/$2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function copymy
|
||||||
|
{
|
||||||
|
echo "Copying $INSTALL_BASEDIR/$1 to $HOME/$2"
|
||||||
|
cp $INSTALL_BASEDIR/$1 $HOME/$2
|
||||||
|
}
|
||||||
|
|
||||||
# AWESOME
|
# AWESOME
|
||||||
linkmy config/awesome .config/awesome
|
linkmy config/awesome .config/awesome
|
||||||
# CONKY
|
# CONKY
|
||||||
linkmy conkyrc .conkyrc
|
linkmy conkyrc .conkyrc
|
||||||
linkmy conky .conky
|
copymy conky_box.lua .conky_box.lua
|
||||||
# EMACS
|
# EMACS
|
||||||
linkmy emacs .emacs
|
linkmy emacs .emacs
|
||||||
linkmy emacs.d .emacs.d
|
linkmy emacs.d .emacs.d
|
||||||
|
|
Loading…
Reference in a new issue