Sequences which rely on a particular function key - F1 etc - or the use of
an English word - should be avoided, where there is a suitable key which
logically symbolises the task somehow.

With the arrow keys rotating a window, Win+middle key seems a natural key
to reset it (though the binding didn't work on the system I tried).  Win+s
and Win+z for zooming were already replaced by Win-+/-.  Use Win+PgUp,
Win+PgDn for desktop zooming.  Use Win+[ and Win+] for translucency, with
the next key - Win+\ - for the quick toggle (the 'logic' here is based on
the position of the keys on many keyboards; also happening to correspond
with MythTV volume keys).  Also, introduce Win+Space for RaiseLower, and
Win+Return for Restore, to focus a window.
---
 bindings |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/bindings b/bindings
index 8866eb9..5c29870 100644
--- a/bindings
+++ b/bindings
@@ -117,6 +117,7 @@ AFuncMouseMetisseCmd  3 W  "sma ActionOnWidget"
 # ---------------------------------------------------------------------------
 
 FuncKeyCompositorWinCmd F1 A AFuncReset
+FuncKeyCompositorWinCmd KP_Begin A AFuncReset
 
 # twelve steps to a double in size
 #  Win - +/- quick zoom window (four steps to double size)
@@ -126,7 +127,7 @@ FuncKeyCompositorWinCmd equal "sma Scale 1.1892"
 # three small steps to one large step
 FuncKeyCompositorWinShiftCmd minus "sma Scale 0.94387431"
 FuncKeyCompositorWinShiftCmd equal "sma Scale 1.05946309"
-
+# compat
 FuncKeyCompositorWinCmd s "sma Scale 0.94387431"
 FuncKeyCompositorWinCmd z "sma Scale 1.05946309"
 
@@ -172,6 +173,9 @@ FuncKeyCompositorWinCmd F7 "sma Rotate 1 1 0 0"
 #
 # backward compatibilty :o)
 # Four zooms = double/half size (0.8409 = ∜½̅, 1.1892 = ∜2̅)
+AFuncPointerKeyCompositorCmd Next  A "sma RootScale 0.8409"
+AFuncPointerKeyCompositorCmd Prior A  "sma RootScale 1.1892"
+# compat
 AFuncPointerKeyCompositorCmd F8 A  "sma RootScale 0.8409"
 AFuncPointerKeyCompositorCmd F9 A  "sma RootScale 1.1892"
 
@@ -179,6 +183,18 @@ AFuncPointerKeyCompositorCmd F9 A  "sma RootScale 1.1892"
 #AFuncPointerKeyCompositorCmd F10 A    "sma RootRotate -1 1 0 0"
 #AFuncPointerKeyCompositorCmd F11 A    "sma RootRotate 1 1 0 0"
 #
+
+#  Win+Space - shove a window
+FuncKeyCompositorWinCmd space "RaiseLower"
+#  Win+Enter - focus a window (Restore)
+FuncKeyCompositorWinCmd Return "AFuncRestore"
+#  Win+[, Win+] - translucency
+FuncKeyCompositorWinCmd bracketleft "sma MoreTransparency"
+FuncKeyCompositorWinCmd bracketright "sma LessTransparency"
+#  Win+\ - toggle translucency
+FuncKeyCompositorWinCmd backslash "sma SetOrRemoveTransparency 0.5"
+FuncKeyCompositorWinShiftCmd backslash "sma SetOrRemoveTransparency 0.05"
+# compat
 FuncKeyCompositorWinCmd F10 "sma LessTransparency"
 FuncKeyCompositorWinCmd F11 "sma MoreTransparency"
 FuncKeyCompositorWinCmd t   "sma SetOrRemoveTransparency 0.5"
-- 
debian.1.5.6.1

_______________________________________________
Metisse mailing list
[email protected]
http://lists.lri.fr/mailman/listinfo/metisse

Reply via email to