Script update

This commit is contained in:
Mathieu Maret 2010-12-13 19:04:35 +01:00
parent 1c91260933
commit 043115a98e
8 changed files with 728 additions and 698 deletions

View File

@ -1,10 +1,10 @@
tint2 &
yakuake &
xchat &
pidgin &
evolution &
#yakuake &
#xchat &
#pidgin &
#evolution &
conky &
/usr/lib/gnome-volume-manager/gnome-volume-manager --sm-disable &
#xplanet &
feh --bg-center ~/Downloads/wallpaper/mirage_mi24.png
#feh --bg-center ~/Downloads/wallpaper/mirage_mi24.png
#nm-applet --sm-disable &

File diff suppressed because it is too large Load Diff

View File

@ -1,89 +1,118 @@
#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------
# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure
#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 0
border_width = 0
background_color = #3e3c3a 90
border_color = #ffffff 18
# Background definitions
# ID 1
rounded = 7
border_width = 2
background_color = #000000 60
border_color = #FFFFFF 16
# ID 2
rounded = 5
border_width = 0
background_color = #ffffff 40
border_color = #ffffff 50
background_color = #FFFFFF 40
border_color = #FFFFFF 48
# ID 3
rounded = 5
border_width = 0
background_color = #ffffff 18
border_color = #ffffff 70
background_color = #FFFFFF 16
border_color = #FFFFFF 68
#---------------------------------------------
# PANEL
#---------------------------------------------
# Panel
panel_monitor = all
panel_position = bottom center horizontal
panel_size = 100% 28
panel_size = 94% 30
panel_margin = 0 0
panel_padding = 7 0
font_shadow = 0
panel_background_id = 1
panel_padding = 7 0 7
panel_dock = 0
wm_menu = 0
panel_layer = top
panel_background_id = 1
#---------------------------------------------
# TASKBAR
#---------------------------------------------
# Panel Autohide
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 2
autohide_height = 2
strut_policy = follow_size
# Taskbar
taskbar_mode = single_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 0
taskbar_active_background_id = 0
#---------------------------------------------
# TASKS
#---------------------------------------------
# Tasks
urgent_nb_of_blink = 8
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_maximum_size = 140 35
task_padding = 6 2
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 2
task_iconified_background_id = 3
#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray_padding = 0 5 10
# Task Icons
task_icon_asb = 70 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 70 0 0
# Fonts
task_font = sans 7
task_font_color = #FFFFFF 68
task_active_font_color = #FFFFFF 83
task_urgent_font_color = #FFFFFF 83
task_iconified_font_color = #FFFFFF 68
font_shadow = 0
# System Tray
systray = 1
systray_padding = 0 4 5
systray_sort = ascending
systray_background_id = 0
systray_icon_size = 16
systray_icon_asb = 70 0 0
#---------------------------------------------
# Battery
#---------------------------------------------
battery = 1
battery_low_status = 10
#---------------------------------------------
# CLOCK
#---------------------------------------------
# Clock
time1_format = %H:%M
time1_font = sans 8
time2_format = %A %d %B
time2_font = sans 6
clock_font_color = #ffffff 76
clock_font_color = #FFFFFF 74
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
clock_rclick_command = orage
#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
# Tooltips
tooltip = 0
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 1
tooltip_font = sans 10
tooltip_font_color = #000000 80
# Mouse
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify
# Battery
battery = 0
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_hide = 98
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #FFFFFF 74
battery_padding = 1 0
battery_background_id = 0
# End of config

View File

@ -39,8 +39,8 @@ xftfont bauhaus:pixelsize=8
#to prevent window from moving
use_spacer none
#use_spacer right
minimum_size 1268 0
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} Temps: ${color D7D3C5} ${execi 300 /home/mathieu/config/scripts/weather.sh "EUR|FR|FR012|PARIS"} | ${color} Gmail : ${color D7D3C5} ${execi 300 python ~/config/scripts/gmail.py}
${alignc}${color light grey}${time %a %D %k:%M} | ${color }Mem: ${color D7D3C5}$memperc% ${color D7D3C5} ${membar 6,80}${color D7D3C5} | ${color}hog:${color D7D3C5} ${top_mem name 1}${offset -25}${top_mem mem 1}%${color grey} | ${color}Cpu: ${color D7D3C5}${cpu}% ${color D7D3C5}${cpugraph 9,80 AEA08E 9F907D} ${color D7D3C5} | ${color}hog:${color D7D3C5} ${top name 1}${offset -25}${top cpu 1}% | ${color}tempCpu:${color D7D3C5} $acpitemp | ${color}battery:$color ${color D7D3C5}${battery_bar 4,50 CMB0} #| ${color}Users:${color D7D3C5}${user_names}
${alignc}${color light grey}${time %a %D %k:%M} | ${color }Mem: ${color D7D3C5}$memperc% ${color D7D3C5} ${membar 6,80}${color D7D3C5} | ${color}hog:${color D7D3C5} ${top_mem name 1}${offset -25}${top_mem mem 1}%${color grey} | ${color}Cpu: ${color D7D3C5}${cpu}% ${color D7D3C5}${cpugraph 9,80 AEA08E 9F907D} ${color D7D3C5} | ${color}hog:${color D7D3C5} ${top name 1}${offset -25}${top cpu 1}% | ${color}tempCpu:${color D7D3C5} $acpitemp | ${color}battery:$color ${color D7D3C5}${battery_bar 4,50 BAT1} #| ${color}Users:${color D7D3C5}${user_names}

0
README Normal file
View File

View File

@ -88,7 +88,7 @@ fi
wget -O - http://www.bonjourmadame.fr | grep -Eo "(http://www.bonjourmadame.fr/photo/[^\"]+)|(http://[0-9]+.media.tumblr.com/tumblr[^\"]+)" | head -n 1 | wget -q -i - -O $todaywp
echo Photo downloaded OK
ls $fileprefix* | sort -r | tail -n +2 | xargs rm -f
#ls $fileprefix* | sort -r | tail -n +2 | xargs rm -f
if [[ -e /usr/bin/identify ]]
then
resize $todaywp;

0
scripts/gmail.py Normal file → Executable file
View File

0
scripts/irssi_get_notification.sh Normal file → Executable file
View File