summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-06-18 00:49:30 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-06-18 00:49:30 (EDT)
commitd54451d1c55c672935c5e8942b42bec09d88d4d9 (patch)
tree616bec21e1a58b6f7b54f6618844c560e377b5e0
parent85090645a4958e379e6f7e0ac9dd53edd3d72035 (diff)
downloadfluxbox-d54451d1c55c672935c5e8942b42bec09d88d4d9.zip
fluxbox-d54451d1c55c672935c5e8942b42bec09d88d4d9.tar.gz
fluxbox-d54451d1c55c672935c5e8942b42bec09d88d4d9.tar.bz2
.fluxbox/keys: Make Alt+F[78] enter move/resize modes
-rw-r--r--.fluxbox/keys24
1 files changed, 22 insertions, 2 deletions
diff --git a/.fluxbox/keys b/.fluxbox/keys
index 468a6e9..337bc2a 100644
--- a/.fluxbox/keys
+++ b/.fluxbox/keys
@@ -13,13 +13,33 @@ Mod1 F4 :Close
Mod1 Shift F4 :Kill
Mod1 F5 :Shade
Mod1 F6 :Stick
-Mod1 F7 :If {Matches (Layer!=Top)} {SetLayer Top} {SetLayer Normal}
-Mod1 F8 :If {Matches (Layer!=Bottom)} {SetLayer Bottom} {SetLayer Normal}
+Mod1 F7 :KeyMode MoveMode
+Mod1 F8 :KeyMode ResizeMode
Mod1 F9 :Minimize
Mod1 F10 :Maximize
Mod1 F11 :Fullscreen
Mod1 F12 :Exec ps -C skippy-xd 1>/dev/null 2>&1 || skippy-xd
+# Alt+F7 move mode
+MoveMode: None Left :MoveLeft 20
+MoveMode: None Right :MoveRight 20
+MoveMode: None Up :MoveUp 20
+MoveMode: None Down :MoveDown 20
+MoveMode: Shift Left :MoveLeft 1
+MoveMode: Shift Right :MoveRight 1
+MoveMode: Shift Up :MoveUp 1
+MoveMode: Shift Down :MoveDown 1
+
+# Alt+F8 resize mode
+ResizeMode: None Left :ResizeHorizontal -20
+ResizeMode: None Right :ResizeHorizontal 20
+ResizeMode: None Up :ResizeVertical -20
+ResizeMode: None Down :ResizeVertical 20
+ResizeMode: Shift Left :ResizeHorizontal -1
+ResizeMode: Shift Right :ResizeHorizontal 1
+ResizeMode: Shift Up :ResizeVertical -1
+ResizeMode: Shift Down :ResizeVertical 1
+
# Title bar right click to open window menu
OnTitlebar Mouse3 :WindowMenu