Add keybing to lock screen
authorJulien Valroff <julien@kirya.net>
Mon, 30 May 2011 05:07:07 +0000 (07:07 +0200)
committerJulien Valroff <julien@kirya.net>
Mon, 30 May 2011 05:07:07 +0000 (07:07 +0200)
rc.xml

diff --git a/rc.xml b/rc.xml
index 17aee59..db1723e 100644 (file)
--- a/rc.xml
+++ b/rc.xml
 
        use obconf if you want to change these without having to log out
        and back in -->
-    <number>2</number>
+    <number>3</number>
     <firstdesk>1</firstdesk>
     <names>
       <name>1</name>
   </desktops>
   <resize>
     <drawContents>yes</drawContents>
-    <popupShow>Nonpixel</popupShow>
+    <popupShow>Always</popupShow>
     <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
     <popupPosition>Center</popupPosition>
     <!-- 'Center' or 'Top' -->
         <command>amixer set Master toggle</command>
       </action>
     </keybind>
+    <keybind key="C-A-L">
+        <action name="Execute">
+            <execute>gnome-screensaver-command -\-lock</execute>
+        </action>
+    </keybind>
   </keyboard>
   <mouse>
     <dragThreshold>8</dragThreshold>