summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreas@tuxedobook2020-04-14 23:45:17 +0200
committerandreas@tuxedobook2020-04-14 23:45:17 +0200
commit230ded017bb59c81215e5fc519ed04097511592f (patch)
tree6f32303d5d43b743e0daec87034a67fcba197b91
parente3d33e5af6a7cd961f469be70cb30815cb03f48f (diff)
downloaddotfiles-230ded017bb59c81215e5fc519ed04097511592f.zip
dotfiles-230ded017bb59c81215e5fc519ed04097511592f.tar.gz
Add some more openbox shortcuts for screenshots and locking.
-rw-r--r--src/openbox/rc.parts.xml34
1 files changed, 32 insertions, 2 deletions
diff --git a/src/openbox/rc.parts.xml b/src/openbox/rc.parts.xml
index d0d704c..f4eb8ff 100644
--- a/src/openbox/rc.parts.xml
+++ b/src/openbox/rc.parts.xml
@@ -50,6 +50,36 @@
<menu>root-menu</menu>
</action>
</keybind>
+ <keybind key="Print">
+ <action name="Execute">
+ <command>scrot</command>
+ </action>
+ </keybind>
+ <keybind key="A-Print">
+ <action name="Execute">
+ <command>scrot --focused --border</command>
+ </action>
+ </keybind>
+ <keybind key="A-F1">
+ <action name="Execute">
+ <command>lxpanelctl menu</command>
+ </action>
+ </keybind>
+ </keyboard>
+</openbox_config>
+
+<!-- Screen locking -->
+<openbox_config>
+ <keyboard>
+ <keybind key="W-l">
+ <action name="Execute">
+ <!-- HINT: This only is save with additinal packages installed. -->
+ <command>dm-tool lock</command>
+ <!-- Obsolete alternative using xscreensaver -->
+ <!-- vvv- make double-dash here -->
+ <!-- <command>xscreensaver-command - -lock</command> -->
+ </action>
+ </keybind>
</keyboard>
</openbox_config>
@@ -59,12 +89,12 @@
<!-- maximize -->
<keybind key="W-Left">
<action name="MoveResizeTo">
- <monitor>next</monitor>
+ <monitor>prev</monitor>
</action>
</keybind>
<keybind key="W-Right">
<action name="MoveResizeTo">
- <monitor>prev</monitor>
+ <monitor>next</monitor>
</action>
</keybind>
<keybind key="W-Up">