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 & tint2 &
yakuake & #yakuake &
xchat & #xchat &
pidgin & #pidgin &
evolution & #evolution &
conky & conky &
/usr/lib/gnome-volume-manager/gnome-volume-manager --sm-disable & /usr/lib/gnome-volume-manager/gnome-volume-manager --sm-disable &
#xplanet & #xplanet &
feh --bg-center ~/Downloads/wallpaper/mirage_mi24.png #feh --bg-center ~/Downloads/wallpaper/mirage_mi24.png
#nm-applet --sm-disable & #nm-applet --sm-disable &

View File

@ -1,13 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Doc @ http://icculus.org/openbox/index.php/Help:Actions#Introduction --> <!-- Doc @ http://icculus.org/openbox/index.php/Help:Actions#Introduction -->
<openbox_config xmlns="http://openbox.org/3.4/rc"> <openbox_config xmlns="http://openbox.org/3.4/rc">
<resistance> <resistance>
<strength>10</strength> <strength>10</strength>
<screen_edge_strength>20</screen_edge_strength> <screen_edge_strength>20</screen_edge_strength>
</resistance> </resistance>
<focus> <focus>
<focusNew>yes</focusNew> <focusNew>yes</focusNew>
<!-- always try to focus new windows when they appear. other rules do <!-- always try to focus new windows when they appear. other rules do
@ -26,7 +23,6 @@
<!-- when followMouse is enabled, and a window is given focus by moving the <!-- when followMouse is enabled, and a window is given focus by moving the
mouse into it, also raise the window --> mouse into it, also raise the window -->
</focus> </focus>
<placement> <placement>
<policy>Smart</policy> <policy>Smart</policy>
<!-- 'Smart' or 'UnderMouse' --> <!-- 'Smart' or 'UnderMouse' -->
@ -38,9 +34,8 @@
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
the active window is --> the active window is -->
</placement> </placement>
<theme> <theme>
<name>Clearlooks</name> <name>GSM</name>
<titleLayout>NLIMC</titleLayout> <titleLayout>NLIMC</titleLayout>
<!-- <!--
available characters are NDSLIMC, each can occur at most once. available characters are NDSLIMC, each can occur at most once.
@ -55,52 +50,51 @@
<keepBorder>yes</keepBorder> <keepBorder>yes</keepBorder>
<animateIconify>yes</animateIconify> <animateIconify>yes</animateIconify>
<font place="ActiveWindow"> <font place="ActiveWindow">
<name>sans</name> <name>Sans</name>
<size>8</size> <size>12</size>
<!-- font size in points --> <!-- font size in points -->
<weight>bold</weight> <weight>Bold</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
<slant>normal</slant> <slant>Normal</slant>
<!-- 'italic' or 'normal' --> <!-- 'italic' or 'normal' -->
</font> </font>
<font place="InactiveWindow"> <font place="InactiveWindow">
<name>sans</name> <name>Sans</name>
<size>8</size> <size>12</size>
<!-- font size in points --> <!-- font size in points -->
<weight>bold</weight> <weight>Bold</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
<slant>normal</slant> <slant>Normal</slant>
<!-- 'italic' or 'normal' --> <!-- 'italic' or 'normal' -->
</font> </font>
<font place="MenuHeader"> <font place="MenuHeader">
<name>sans</name> <name>Sans</name>
<size>9</size> <size>13</size>
<!-- font size in points --> <!-- font size in points -->
<weight>normal</weight> <weight>Normal</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
<slant>normal</slant> <slant>Normal</slant>
<!-- 'italic' or 'normal' --> <!-- 'italic' or 'normal' -->
</font> </font>
<font place="MenuItem"> <font place="MenuItem">
<name>sans</name> <name>Sans</name>
<size>9</size> <size>13</size>
<!-- font size in points --> <!-- font size in points -->
<weight>normal</weight> <weight>Normal</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
<slant>normal</slant> <slant>Normal</slant>
<!-- 'italic' or 'normal' --> <!-- 'italic' or 'normal' -->
</font> </font>
<font place="OnScreenDisplay"> <font place="OnScreenDisplay">
<name>sans</name> <name>Sans</name>
<size>9</size> <size>13</size>
<!-- font size in points --> <!-- font size in points -->
<weight>bold</weight> <weight>Bold</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
<slant>normal</slant> <slant>Normal</slant>
<!-- 'italic' or 'normal' --> <!-- 'italic' or 'normal' -->
</font> </font>
</theme> </theme>
<desktops> <desktops>
<!-- this stuff is only used at startup, pagers allow you to change them <!-- this stuff is only used at startup, pagers allow you to change them
during a session during a session
@ -118,13 +112,11 @@
<name>desktop 2</name> <name>desktop 2</name>
<name>desktop 3</name> <name>desktop 3</name>
<name>desktop 4</name>--> <name>desktop 4</name>-->
</names> </names>
<popupTime>875</popupTime> <popupTime>875</popupTime>
<!-- The number of milliseconds to show the popup for when switching <!-- The number of milliseconds to show the popup for when switching
desktops. Set this to 0 to disable the popup. --> desktops. Set this to 0 to disable the popup. -->
</desktops> </desktops>
<resize> <resize>
<drawContents>yes</drawContents> <drawContents>yes</drawContents>
<popupShow>Nonpixel</popupShow> <popupShow>Nonpixel</popupShow>
@ -133,7 +125,6 @@
<!-- 'Center', 'Top', or 'Fixed' --> <!-- 'Center', 'Top', or 'Fixed' -->
<popupFixedPosition> <popupFixedPosition>
<!-- these are used if popupPosition is set to 'Fixed' --> <!-- these are used if popupPosition is set to 'Fixed' -->
<x>10</x> <x>10</x>
<!-- positive number for distance from left edge, negative number for <!-- positive number for distance from left edge, negative number for
distance from right edge, or 'Center' --> distance from right edge, or 'Center' -->
@ -142,7 +133,6 @@
distance from bottom edge, or 'Center' --> distance from bottom edge, or 'Center' -->
</popupFixedPosition> </popupFixedPosition>
</resize> </resize>
<!-- You can reserve a portion of your screen where windows will not cover when <!-- You can reserve a portion of your screen where windows will not cover when
they are maximized, or when they are initially placed. they are maximized, or when they are initially placed.
Many programs reserve space automatically, but you can use this in other Many programs reserve space automatically, but you can use this in other
@ -153,7 +143,6 @@
<left>0</left> <left>0</left>
<right>0</right> <right>0</right>
</margins> </margins>
<dock> <dock>
<position>TopLeft</position> <position>TopLeft</position>
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
@ -172,52 +161,80 @@
<moveButton>Middle</moveButton> <moveButton>Middle</moveButton>
<!-- 'Left', 'Middle', 'Right' --> <!-- 'Left', 'Middle', 'Right' -->
</dock> </dock>
<keyboard> <keyboard>
<chainQuitKey>C-g</chainQuitKey> <chainQuitKey>C-g</chainQuitKey>
<!-- Keybindings for desktop switching --> <!-- Keybindings for desktop switching -->
<keybind key="C-A-Left"> <keybind key="C-A-Left">
<action name="DesktopLeft"><dialog>no</dialog><wrap>no</wrap></action> <action name="DesktopLeft">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind> </keybind>
<keybind key="C-A-Right"> <keybind key="C-A-Right">
<action name="DesktopRight"><dialog>no</dialog><wrap>no</wrap></action> <action name="DesktopRight">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind> </keybind>
<keybind key="C-A-Up"> <keybind key="C-A-Up">
<action name="DesktopUp"><dialog>no</dialog><wrap>no</wrap></action> <action name="DesktopUp">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind> </keybind>
<keybind key="C-A-Down"> <keybind key="C-A-Down">
<action name="DesktopDown"><dialog>no</dialog><wrap>no</wrap></action> <action name="DesktopDown">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind> </keybind>
<keybind key="S-A-Left"> <keybind key="S-A-Left">
<action name="SendToDesktopLeft"><dialog>no</dialog><wrap>no</wrap></action> <action name="SendToDesktopLeft">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind> </keybind>
<keybind key="S-A-Right"> <keybind key="S-A-Right">
<action name="SendToDesktopRight"><dialog>no</dialog><wrap>no</wrap></action> <action name="SendToDesktopRight">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind> </keybind>
<keybind key="S-A-Up"> <keybind key="S-A-Up">
<action name="SendToDesktopUp"><dialog>no</dialog><wrap>no</wrap></action> <action name="SendToDesktopUp">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind> </keybind>
<keybind key="S-A-Down"> <keybind key="S-A-Down">
<action name="SendToDesktopDown"><dialog>no</dialog><wrap>no</wrap></action> <action name="SendToDesktopDown">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind> </keybind>
<keybind key="W-F1"> <keybind key="W-F1">
<action name="Desktop"><desktop>1</desktop></action> <action name="Desktop">
<desktop>1</desktop>
</action>
</keybind> </keybind>
<keybind key="W-F2"> <keybind key="W-F2">
<action name="Desktop"><desktop>2</desktop></action> <action name="Desktop">
<desktop>2</desktop>
</action>
</keybind> </keybind>
<keybind key="W-F3"> <keybind key="W-F3">
<action name="Desktop"><desktop>3</desktop></action> <action name="Desktop">
<desktop>3</desktop>
</action>
</keybind> </keybind>
<keybind key="W-F4"> <keybind key="W-F4">
<action name="Desktop"><desktop>4</desktop></action> <action name="Desktop">
<desktop>4</desktop>
</action>
</keybind> </keybind>
<keybind key="W-d"> <keybind key="W-d">
<action name="ToggleShowDesktop"/> <action name="ToggleShowDesktop"/>
</keybind> </keybind>
<!-- Keybindings for windows --> <!-- Keybindings for windows -->
<keybind key="A-F4"> <keybind key="A-F4">
<action name="Close"/> <action name="Close"/>
@ -228,15 +245,20 @@
<action name="Unfocus"/> <action name="Unfocus"/>
</keybind> </keybind>
<keybind key="A-space"> <keybind key="A-space">
<action name="ShowMenu"><menu>client-menu</menu></action> <action name="ShowMenu">
<menu>client-menu</menu>
</action>
</keybind> </keybind>
<keybind key="Print"> <keybind key="Print">
<action name="Execute"><execute>gnome-screenshot</execute></action> <action name="Execute">
<execute>gnome-screenshot</execute>
</action>
</keybind> </keybind>
<keybind key="A-Print"> <keybind key="A-Print">
<action name="Execute"><execute>gnome-screenshot -w</execute></action> <action name="Execute">
<execute>gnome-screenshot -w</execute>
</action>
</keybind> </keybind>
<!-- Keybindings for window switching --> <!-- Keybindings for window switching -->
<keybind key="A-Tab"> <keybind key="A-Tab">
<action name="NextWindow"/> <action name="NextWindow"/>
@ -246,10 +268,10 @@
</keybind> </keybind>
<keybind key="C-A-Tab"> <keybind key="C-A-Tab">
<action name="NextWindow"> <action name="NextWindow">
<panels>yes</panels><desktop>yes</desktop> <panels>yes</panels>
<desktop>yes</desktop>
</action> </action>
</keybind> </keybind>
<!-- Resize Windows --> <!-- Resize Windows -->
<keybind key="W-Right"> <keybind key="W-Right">
<action name="GrowToEdgeEast"/> <action name="GrowToEdgeEast"/>
@ -269,8 +291,6 @@
<keybind key="A-F10"> <keybind key="A-F10">
<action name="ToggleMaximizeFull"/> <action name="ToggleMaximizeFull"/>
</keybind> </keybind>
<!-- Keybindings for running applications --> <!-- Keybindings for running applications -->
<keybind key="A-F2"> <keybind key="A-F2">
<action name="Execute"> <action name="Execute">
@ -293,21 +313,17 @@
<command>konsole</command> <command>konsole</command>
</action> </action>
</keybind> </keybind>
<keybind key="XF86AudioRaiseVolume"> <keybind key="XF86AudioRaiseVolume">
<action name="Execute"> <action name="Execute">
<execute>amixer set Master 5+ unmute</execute> <execute>amixer set Master 5+ unmute</execute>
</action> </action>
</keybind> </keybind>
<keybind key="XF86AudioLowerVolume"> <keybind key="XF86AudioLowerVolume">
<action name="Execute"> <action name="Execute">
<execute>amixer set Master 5- unmute</execute> <execute>amixer set Master 5- unmute</execute>
</action> </action>
</keybind> </keybind>
</keyboard> </keyboard>
<mouse> <mouse>
<dragThreshold>8</dragThreshold> <dragThreshold>8</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins --> <!-- number of pixels the mouse must move before a drag begins -->
@ -317,7 +333,6 @@
<!-- Time before changing desktops when the pointer touches the edge of the <!-- Time before changing desktops when the pointer touches the edge of the
screen while moving a window, in milliseconds (1000 = 1 second). screen while moving a window, in milliseconds (1000 = 1 second).
Set this to 0 to disable warping --> Set this to 0 to disable warping -->
<context name="Frame"> <context name="Frame">
<mousebind button="A-Left" action="Press"> <mousebind button="A-Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -329,7 +344,6 @@
<mousebind button="A-Left" action="Drag"> <mousebind button="A-Left" action="Drag">
<action name="Move"/> <action name="Move"/>
</mousebind> </mousebind>
<mousebind button="A-Right" action="Press"> <mousebind button="A-Right" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
@ -338,13 +352,11 @@
<mousebind button="A-Right" action="Drag"> <mousebind button="A-Right" action="Drag">
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
<mousebind button="A-Middle" action="Press"> <mousebind button="A-Middle" action="Press">
<action name="Lower"/> <action name="Lower"/>
<action name="FocusToBottom"/> <action name="FocusToBottom"/>
<action name="Unfocus"/> <action name="Unfocus"/>
</mousebind> </mousebind>
<mousebind button="A-Up" action="Click"> <mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/> <action name="DesktopPrevious"/>
</mousebind> </mousebind>
@ -364,7 +376,6 @@
<action name="SendToDesktopNext"/> <action name="SendToDesktopNext"/>
</mousebind> </mousebind>
</context> </context>
<context name="Titlebar"> <context name="Titlebar">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -376,13 +387,11 @@
<mousebind button="Left" action="DoubleClick"> <mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximizeFull"/> <action name="ToggleMaximizeFull"/>
</mousebind> </mousebind>
<mousebind button="Middle" action="Press"> <mousebind button="Middle" action="Press">
<action name="Lower"/> <action name="Lower"/>
<action name="FocusToBottom"/> <action name="FocusToBottom"/>
<action name="Unfocus"/> <action name="Unfocus"/>
</mousebind> </mousebind>
<mousebind button="Up" action="Click"> <mousebind button="Up" action="Click">
<action name="Shade"/> <action name="Shade"/>
<action name="FocusToBottom"/> <action name="FocusToBottom"/>
@ -393,14 +402,14 @@
<action name="Unshade"/> <action name="Unshade"/>
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
<action name="ShowMenu"><menu>client-menu</menu></action> <action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="Top"> <context name="Top">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -408,52 +417,56 @@
<action name="Unshade"/> <action name="Unshade"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"><edge>top</edge></action> <action name="Resize">
<edge>top</edge>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="Left"> <context name="Left">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"><edge>left</edge></action> <action name="Resize">
<edge>left</edge>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="Right"> <context name="Right">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"><edge>right</edge></action> <action name="Resize">
<edge>right</edge>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="Bottom"> <context name="Bottom">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"><edge>bottom</edge></action> <action name="Resize">
<edge>bottom</edge>
</action>
</mousebind> </mousebind>
<mousebind button="Middle" action="Press"> <mousebind button="Middle" action="Press">
<action name="Lower"/> <action name="Lower"/>
<action name="FocusToBottom"/> <action name="FocusToBottom"/>
<action name="Unfocus"/> <action name="Unfocus"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
<action name="ShowMenu"><menu>client-menu</menu></action> <action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="BLCorner"> <context name="BLCorner">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -463,7 +476,6 @@
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
</context> </context>
<context name="BRCorner"> <context name="BRCorner">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -473,7 +485,6 @@
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
</context> </context>
<context name="TLCorner"> <context name="TLCorner">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -484,7 +495,6 @@
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
</context> </context>
<context name="TRCorner"> <context name="TRCorner">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -495,7 +505,6 @@
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
</context> </context>
<context name="Client"> <context name="Client">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -510,21 +519,23 @@
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
</context> </context>
<context name="Icon"> <context name="Icon">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
<action name="Unshade"/> <action name="Unshade"/>
<action name="ShowMenu"><menu>client-menu</menu></action> <action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
<action name="ShowMenu"><menu>client-menu</menu></action> <action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="AllDesktops"> <context name="AllDesktops">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -535,7 +546,6 @@
<action name="ToggleOmnipresent"/> <action name="ToggleOmnipresent"/>
</mousebind> </mousebind>
</context> </context>
<context name="Shade"> <context name="Shade">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -545,7 +555,6 @@
<action name="ToggleShade"/> <action name="ToggleShade"/>
</mousebind> </mousebind>
</context> </context>
<context name="Iconify"> <context name="Iconify">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -555,7 +564,6 @@
<action name="Iconify"/> <action name="Iconify"/>
</mousebind> </mousebind>
</context> </context>
<context name="Maximize"> <context name="Maximize">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -582,7 +590,6 @@
<action name="ToggleMaximizeHorz"/> <action name="ToggleMaximizeHorz"/>
</mousebind> </mousebind>
</context> </context>
<context name="Close"> <context name="Close">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -593,7 +600,6 @@
<action name="Close"/> <action name="Close"/>
</mousebind> </mousebind>
</context> </context>
<context name="Desktop"> <context name="Desktop">
<mousebind button="Up" action="Click"> <mousebind button="Up" action="Click">
<action name="DesktopPrevious"/> <action name="DesktopPrevious"/>
@ -601,7 +607,6 @@
<mousebind button="Down" action="Click"> <mousebind button="Down" action="Click">
<action name="DesktopNext"/> <action name="DesktopNext"/>
</mousebind> </mousebind>
<mousebind button="A-Up" action="Click"> <mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/> <action name="DesktopPrevious"/>
</mousebind> </mousebind>
@ -614,7 +619,6 @@
<mousebind button="C-A-Down" action="Click"> <mousebind button="C-A-Down" action="Click">
<action name="DesktopNext"/> <action name="DesktopNext"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
@ -624,17 +628,19 @@
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
</context> </context>
<context name="Root"> <context name="Root">
<!-- Menus --> <!-- Menus -->
<mousebind button="Middle" action="Press"> <mousebind button="Middle" action="Press">
<action name="ShowMenu"><menu>client-list-combined-menu</menu></action> <action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="ShowMenu"><menu>root-menu</menu></action> <action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="MoveResize"> <context name="MoveResize">
<mousebind button="Up" action="Click"> <mousebind button="Up" action="Click">
<action name="DesktopPrevious"/> <action name="DesktopPrevious"/>
@ -650,13 +656,10 @@
</mousebind> </mousebind>
</context> </context>
</mouse> </mouse>
<menu> <menu>
<!-- You can specify more than one menu file in here and they are all loaded, <!-- You can specify more than one menu file in here and they are all loaded,
just don't make menu ids clash or, well, it'll be kind of pointless --> just don't make menu ids clash or, well, it'll be kind of pointless -->
<!-- default menu file (or custom one in $HOME/.config/openbox/) --> <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
<!-- system menu files on Debian systems --> <!-- system menu files on Debian systems -->
<file>/var/lib/openbox/debian-menu.xml</file> <file>/var/lib/openbox/debian-menu.xml</file>
<file>debian-menu.xml</file> <file>debian-menu.xml</file>
@ -674,7 +677,6 @@
<manageDesktops>yes</manageDesktops> <manageDesktops>yes</manageDesktops>
<!-- show the manage desktops section in the client-list-(combined-)menu --> <!-- show the manage desktops section in the client-list-(combined-)menu -->
</menu> </menu>
<applications> <applications>
<!-- <!--
# this is an example with comments through out. use these to make your # this is an example with comments through out. use these to make your
@ -756,5 +758,4 @@
# end of the example # end of the example
--> -->
</applications> </applications>
</openbox_config> </openbox_config>

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 definitions
# BACKGROUND AND BORDER # ID 1
#--------------------------------------------- rounded = 7
rounded = 0 border_width = 2
border_width = 0 background_color = #000000 60
background_color = #3e3c3a 90 border_color = #FFFFFF 16
border_color = #ffffff 18
# ID 2
rounded = 5 rounded = 5
border_width = 0 border_width = 0
background_color = #ffffff 40 background_color = #FFFFFF 40
border_color = #ffffff 50 border_color = #FFFFFF 48
# ID 3
rounded = 5 rounded = 5
border_width = 0 border_width = 0
background_color = #ffffff 18 background_color = #FFFFFF 16
border_color = #ffffff 70 border_color = #FFFFFF 68
#--------------------------------------------- # Panel
# PANEL
#---------------------------------------------
panel_monitor = all panel_monitor = all
panel_position = bottom center horizontal panel_position = bottom center horizontal
panel_size = 100% 28 panel_size = 94% 30
panel_margin = 0 0 panel_margin = 0 0
panel_padding = 7 0 panel_padding = 7 0 7
font_shadow = 0 panel_dock = 0
panel_background_id = 1
wm_menu = 0 wm_menu = 0
panel_layer = top
panel_background_id = 1
#--------------------------------------------- # Panel Autohide
# TASKBAR autohide = 0
#--------------------------------------------- autohide_show_timeout = 0.3
autohide_hide_timeout = 2
autohide_height = 2
strut_policy = follow_size
# Taskbar
taskbar_mode = single_desktop taskbar_mode = single_desktop
taskbar_padding = 2 3 2 taskbar_padding = 2 3 2
taskbar_background_id = 0 taskbar_background_id = 0
taskbar_active_background_id = 0
#--------------------------------------------- # Tasks
# TASKS urgent_nb_of_blink = 8
#---------------------------------------------
task_icon = 1 task_icon = 1
task_text = 1 task_text = 1
task_maximum_size = 140 30
task_centered = 1 task_centered = 1
task_padding = 6 3 task_maximum_size = 140 35
task_font = sans 7 task_padding = 6 2
task_font_color = #ffffff 70
task_active_font_color = #ffffff 85
task_background_id = 3 task_background_id = 3
task_active_background_id = 2 task_active_background_id = 2
task_urgent_background_id = 2
task_iconified_background_id = 3
#--------------------------------------------- # Task Icons
# SYSTRAYBAR task_icon_asb = 70 0 0
#--------------------------------------------- task_active_icon_asb = 100 0 0
systray_padding = 0 5 10 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_background_id = 0
systray_icon_size = 16
systray_icon_asb = 70 0 0
#--------------------------------------------- # Clock
# Battery
#---------------------------------------------
battery = 1
battery_low_status = 10
#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %H:%M time1_format = %H:%M
time1_font = sans 8 time1_font = sans 8
time2_format = %A %d %B time2_format = %A %d %B
time2_font = sans 6 time2_font = sans 6
clock_font_color = #ffffff 76 clock_font_color = #FFFFFF 74
clock_padding = 1 0 clock_padding = 1 0
clock_background_id = 0 clock_background_id = 0
#clock_lclick_command = /usr/bin/xclock clock_rclick_command = orage
clock_lclick_command = /usr/bin/gq
clock_rclick_command = /usr/bin/gcalctool
#--------------------------------------------- # Tooltips
# MOUSE ACTION ON TASK 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_middle = none
mouse_right = close mouse_right = close
mouse_scroll_up = toggle mouse_scroll_up = toggle
mouse_scroll_down = iconify 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 #to prevent window from moving
use_spacer none use_spacer none
#use_spacer right #use_spacer right
minimum_size 1268 0 minimum_size 1680 0
TEXT 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}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 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 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 ]] if [[ -e /usr/bin/identify ]]
then then
resize $todaywp; resize $todaywp;

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

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