summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-02-20 16:38:11 +0100
committerJoe <rrbo@proton.me>2023-02-20 16:38:11 +0100
commit25653ef9350384ee0383f797ede22c37140ac2c2 (patch)
treea1294fc500e150cd17273e1c2804b94b111fe759 /.config
parentcompat (diff)
downloaddotfiles-bsd-25653ef9350384ee0383f797ede22c37140ac2c2.tar.gz
dotfiles-bsd-25653ef9350384ee0383f797ede22c37140ac2c2.tar.bz2
dotfiles-bsd-25653ef9350384ee0383f797ede22c37140ac2c2.tar.xz
dotfiles-bsd-25653ef9350384ee0383f797ede22c37140ac2c2.tar.zst
dotfiles-bsd-25653ef9350384ee0383f797ede22c37140ac2c2.zip
logical
Diffstat (limited to '.config')
-rwxr-xr-x.config/openbox/rc.xml25
1 files changed, 20 insertions, 5 deletions
diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml
index 827b19a..b7f6327 100755
--- a/.config/openbox/rc.xml
+++ b/.config/openbox/rc.xml
@@ -647,7 +647,9 @@
<action name="Move"/>
</mousebind>
<mousebind button="Left" action="DoubleClick">
- <action name="ToggleShade"/>
+ <action name="Lower"/>
+ <action name="FocusToBottom"/>
+ <action name="Unfocus"/>
</mousebind>
<mousebind button="Up" action="Click">
<action name="if">
@@ -676,10 +678,23 @@
<action name="Raise"/>
<!-- <action name="Unshade"/> -->
</mousebind>
- <mousebind button="Middle" action="Press">
- <action name="Lower"/>
- <action name="FocusToBottom"/>
- <action name="Unfocus"/>
+ <mousebind button="Middle" action="Click">
+ <action name="ToggleShade"/>
+ <action name="if">
+ <shaded>no</shaded>
+ <then>
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </then>
+ </action>
+ <action name="if">
+ <shaded>yes</shaded>
+ <then>
+ <action name="FocusToBottom"/>
+ <action name="Unfocus"/>
+ <action name="Lower"/>
+ </then>
+ </action>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>