Commits

Eugene Yunak committed 3f0c480

mouse scroll adjusts transparency

  • Participants
  • Parent commits 7737115

Comments (0)

Files changed (1)

File .config/openbox/rc.xml

         <action name="FocusToBottom"/>
         <action name="Unfocus"/>
       </mousebind>
+    <!--
       <mousebind button="W-Up" action="Click">
         <action name="GoToDesktop">
           <to>previous</to>
           <to>next</to>
         </action>
       </mousebind>
+    -->
     </context>
     <context name="Titlebar">
       <mousebind button="Left" action="Drag">
         <action name="Focus"/>
         <action name="Raise"/>
       </mousebind>
+    <mousebind button="W-Up" action="Click">
+      <action name= "Execute">
+        <execute>transset-df -p .05 --inc</execute>
+      </action>
+    </mousebind>
+    <mousebind button="W-Down" action="Click">
+      <action name= "Execute">
+        <execute>transset-df -p .05 --dec</execute>
+      </action>
+    </mousebind>
     </context>
     <context name="Icon">
       <mousebind button="Left" action="Press">
       </mousebind>
     </context>
     <context name="Desktop">
+    <!--
       <mousebind button="Up" action="Click">
         <action name="GoToDesktop">
           <to>previous</to>
           <to>next</to>
         </action>
       </mousebind>
+    -->
       <mousebind button="Left" action="Press">
         <action name="Focus"/>
         <action name="Raise"/>
         </action>
       </mousebind>
     </context>
-    <context name="MoveResize">
-      <mousebind button="Up" action="Click">
-        <action name="GoToDesktop">
-          <to>previous</to>
-        </action>
-      </mousebind>
-      <mousebind button="Down" action="Click">
-        <action name="GoToDesktop">
-          <to>next</to>
-        </action>
-      </mousebind>
-      <mousebind button="A-Up" action="Click">
-        <action name="GoToDesktop">
-          <to>previous</to>
-        </action>
-      </mousebind>
-      <mousebind button="A-Down" action="Click">
-        <action name="GoToDesktop">
-          <to>next</to>
-        </action>
-      </mousebind>
-    </context>
   </mouse>
   <menu><!-- 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 --><!-- default menu file (or custom one in $HOME/.config/openbox/) --><file>menu.xml</file><hideDelay>200</hideDelay><!-- if a press-release lasts longer than this setting (in milliseconds), the