diff options
author | P. J. McDermott <pj@pehjota.net> | 2018-06-18 00:49:30 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-22 10:22:02 (EDT) |
commit | 19a0f30b404d3aa8ccdfd90195f31be73cbfbac1 (patch) | |
tree | 7fa25796dc7edd675cf70a3031d29ae5cf398a12 | |
parent | 7c083d0a873a5dcf09289454429c43dbe38ae4a2 (diff) | |
download | fluxbox-19a0f30b404d3aa8ccdfd90195f31be73cbfbac1.zip fluxbox-19a0f30b404d3aa8ccdfd90195f31be73cbfbac1.tar.gz fluxbox-19a0f30b404d3aa8ccdfd90195f31be73cbfbac1.tar.bz2 |
.fluxbox/keys: Make Alt+F[78] enter move/resize modes
-rw-r--r-- | .fluxbox/keys | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/.fluxbox/keys b/.fluxbox/keys index 6ae1bbf..e42b3dc 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 |