summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-06-18 00:10:23 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-22 10:21:52 (EDT)
commit7c083d0a873a5dcf09289454429c43dbe38ae4a2 (patch)
treef12e7ed5e6b6315823d4b2018e242e5f8ebd35b6
parent7634532dcea638467fe13e508074c80bbcc2ed1c (diff)
downloadfluxbox-7c083d0a873a5dcf09289454429c43dbe38ae4a2.zip
fluxbox-7c083d0a873a5dcf09289454429c43dbe38ae4a2.tar.gz
fluxbox-7c083d0a873a5dcf09289454429c43dbe38ae4a2.tar.bz2
.fluxbox/keys: Make Alt+F[78] toggle layer
-rw-r--r--.fluxbox/keys4
1 files changed, 2 insertions, 2 deletions
diff --git a/.fluxbox/keys b/.fluxbox/keys
index 6abf1bb..6ae1bbf 100644
--- a/.fluxbox/keys
+++ b/.fluxbox/keys
@@ -13,8 +13,8 @@ Mod1 F4 :Close
Mod1 Shift F4 :Kill
Mod1 F5 :Shade
Mod1 F6 :Stick
-Mod1 F7 :SetLayer Top
-Mod1 F8 :SetLayer Bottom
+Mod1 F7 :If {Matches (Layer!=Top)} {SetLayer Top} {SetLayer Normal}
+Mod1 F8 :If {Matches (Layer!=Bottom)} {SetLayer Bottom} {SetLayer Normal}
Mod1 F9 :Minimize
Mod1 F10 :Maximize
Mod1 F11 :Fullscreen