summaryrefslogtreecommitdiffstats
path: root/.fluxbox
diff options
context:
space:
mode:
Diffstat (limited to '.fluxbox')
-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