Add instruct for installing openbox tint2 conky

This commit is contained in:
Mathieu Maret 2009-11-05 10:47:01 +01:00
parent bfa87fcd44
commit 7518103eb6
3 changed files with 135 additions and 0 deletions

12
Desktop Normal file
View File

@ -0,0 +1,12 @@
aptitude install openbox
svn checkout http://tint2.googlecode.com/svn/trunk/ tint2-read-only
aptitude install libcairo2-dev libpango1.0-dev libglib2.0-dev libimlib2-dev libxinerama-dev libxrand-dev
cd tint2-read-only
./configure
make
make install
echo "tint2 &" > ~/.config/openbox/autostart.sh
aptitude install conky

41
conkyrc Normal file
View File

@ -0,0 +1,41 @@
#avoid flicker
double_buffer yes
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent no
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
#borders
draw_borders no
border_margin 6
#shades
draw_shades no
#position
gap_x 6
gap_y 2
alignment top_middle
#behaviour
update_interval 1
#colour
default_color 9f907d
#default_shade_color 000000
#own_window_colour 3d352a
own_window_colour 3e3c3a
#font
use_xft yes
xftfont bauhaus:pixelsize=11
#to prevent window from moving
use_spacer no
minimum_size 1680 0
TEXT
${alignc}Kernel: ${color D7D3C5}$kernel | ${color}Uptime: ${color D7D3C5}${uptime_short} | ${color }Down: ${color D7D3C5}${font}${downspeed eth0} Kb/s - ${color D7D3C5}${totaldown eth0} | ${color }Up: ${color D7D3C5}${upspeed eth0} Kb/s - ${color D7D3C5}${totalup eth0} | ${color }Root: ${color D7D3C5}${fs_free /} ${fs_bar 6,60 /} | ${color }Home: ${color D7D3C5}${fs_free /home} ${fs_bar 6,60 /home} | ${color }Mem: ${color D7D3C5}$memperc% ${color D7D3C5} ${membar 6,80}${color D7D3C5} | ${color}Cpu: ${color D7D3C5}${cpu}% ${color D7D3C5}${cpugraph 9,80 AEA08E 9F907D} ${color D7D3C5}

82
tint2rc Normal file
View File

@ -0,0 +1,82 @@
#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------
#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 0
border_width = 0
background_color = #3e3c3a 90
border_color = #ffffff 18
rounded = 5
border_width = 0
background_color = #ffffff 40
border_color = #ffffff 50
rounded = 5
border_width = 0
background_color = #ffffff 18
border_color = #ffffff 70
#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = all
panel_position = bottom center horizontal
panel_size = 100% 28
panel_margin = 0 0
panel_padding = 7 0
font_shadow = 0
panel_background_id = 1
wm_menu = 0
#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = single_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 0
#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
task_maximum_size = 140 30
task_centered = 1
task_padding = 6 3
task_font = sans 7
task_font_color = #ffffff 70
task_active_font_color = #ffffff 85
task_background_id = 3
task_active_background_id = 2
#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray_padding = 0 5 10
systray_background_id = 0
#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %H:%M
time1_font = sans 8
time2_format = %A %d %B
time2_font = sans 6
clock_font_color = #ffffff 76
clock_padding = 1 0
clock_background_id = 0
#clock_lclick_command = /usr/bin/xclock
clock_lclick_command = /usr/bin/gq
clock_rclick_command = /usr/bin/gcalctool
#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify