From 043115a98edd1da769066b8ccd7185f925d51fba Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Mon, 13 Dec 2010 19:04:35 +0100 Subject: [PATCH] Script update --- .config/openbox/autostart.sh | 10 +- .config/openbox/rc.xml | 1275 +++++++++++++++-------------- .config/tint2/tint2rc | 135 +-- .conkyrc | 4 +- README | 0 scripts/getMadame.sh | 2 +- scripts/gmail.py | 0 scripts/irssi_get_notification.sh | 0 8 files changed, 728 insertions(+), 698 deletions(-) create mode 100644 README mode change 100644 => 100755 scripts/gmail.py mode change 100644 => 100755 scripts/irssi_get_notification.sh diff --git a/.config/openbox/autostart.sh b/.config/openbox/autostart.sh index ed24f9d..7f03901 100644 --- a/.config/openbox/autostart.sh +++ b/.config/openbox/autostart.sh @@ -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 & diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml index cd4d065..d28fd77 100644 --- a/.config/openbox/rc.xml +++ b/.config/openbox/rc.xml @@ -1,48 +1,43 @@ - - - - 10 - 20 - - - - yes - - no - - yes - + yes + - no - - 200 - + 200 + - no - - - - - Smart - -
yes
- +
yes
+ - Any - -
- - - Clearlooks - NLIMC - - yes - yes - - sans - 8 - - bold - - normal - - - - sans - 8 - - bold - - normal - - - - sans - 9 - - normal - - normal - - - - sans - 9 - - normal - - normal - - - - sans - 9 - - bold - - normal - - - - - - + Bold + + Normal + + + + Sans + 12 + + Bold + + Normal + + + + Sans + 13 + + Normal + + Normal + + + + Sans + 13 + + Normal + + Normal + + + + Sans + 13 + + Bold + + Normal + + + + + - 4 - 1 - + 4 + 1 + - - - 875 - - - - - yes - Nonpixel - - Center - - - - - 10 - + Center + + + + 10 + - 10 - - - - - - - 0 - 0 - 0 - 0 - - - - TopLeft - - 0 - 0 - no - Above - - Vertical - - no - 300 - - 300 - - Middle - - - - - C-g - - - - nono - - - nono - - - nono - - - nono - - - nono - - - nono - - - nono - - - nono - - - - 1 - - - 2 - - - 3 - - - 4 - - - - - - - - - - - - - - - - client-menu - - - gnome-screenshot - - - gnome-screenshot -w - - - - - - - - - - - - yesyes - - - - - - - - - - - - - - - - - - - - - - - - - - - - Lance GmRun - /usr/bin/gmrun - - - - - Lance - gnome-terminal - - - - - - true - Konsole - - konsole - - - - - + + 0 + 0 + 0 + 0 + + + TopLeft + + 0 + 0 + no + Above + + Vertical + + no + 300 + + 300 + + Middle + + + + C-g + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + 1 + + + + + 2 + + + + + 3 + + + + + 4 + + + + + + + + + + + + + + + + + client-menu + + + + + gnome-screenshot + + + + + gnome-screenshot -w + + + + + + + + + + + + yes + yes + + + + + + + + + + + + + + + + + + + + + + + + + Lance GmRun + /usr/bin/gmrun + + + + + Lance + gnome-terminal + + + + + + true + Konsole + + konsole + + + + amixer set Master 5+ unmute - - - - - + + + + amixer set Master 5- unmute - - - - - - - 8 - - 200 - - 400 - + 200 + + 400 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - client-menu - - - - - - - - - - - top - - - - - - - - - - left - - - - - - - - - - right - - - - - - - - - - bottom - - - - - - - - - - - - client-menu - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - client-menu - - - - - client-menu - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - client-list-combined-menu - - - root-menu - - - - - - - - - - - - - - - - - - - - - + + + client-list-combined-menu + + + + + root-menu + + + + + + + + + + + + + + + + + + + + - - - - - /var/lib/openbox/debian-menu.xml - debian-menu.xml - menu.xml - 200 - + + /var/lib/openbox/debian-menu.xml + debian-menu.xml + menu.xml + 200 + - no - - 100 - + 100 + - yes - - yes - - - - - + yes + + + + - - +
diff --git a/.config/tint2/tint2rc b/.config/tint2/tint2rc index e5e1cd7..d0fafdd 100644 --- a/.config/tint2/tint2rc +++ b/.config/tint2/tint2rc @@ -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 \ No newline at end of file diff --git a/.conkyrc b/.conkyrc index 3972ed2..abfb3eb 100644 --- a/.conkyrc +++ b/.conkyrc @@ -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} diff --git a/README b/README new file mode 100644 index 0000000..e69de29 diff --git a/scripts/getMadame.sh b/scripts/getMadame.sh index 3a0b0b2..e8df407 100755 --- a/scripts/getMadame.sh +++ b/scripts/getMadame.sh @@ -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; diff --git a/scripts/gmail.py b/scripts/gmail.py old mode 100644 new mode 100755 diff --git a/scripts/irssi_get_notification.sh b/scripts/irssi_get_notification.sh old mode 100644 new mode 100755