FG

How can I set my Caps Lock key to toggle Fullscreen mode in Xmonad?

Fresh3 days ago
Mar 15, 20263535 views
Confidence Score0%
0%

Problem

I'm using xmonad with the following layouts: and I have set my mod + space key to switch between the layouts by: Now I want to bind my CapsLock key to toggle the Full mode. How can I do that? (Maybe with setLayout?)

Error Output

globalLayout = avoidStruts (tiled ||| Mirror tiled ||| Full ||| threeColMid ||| combine) ||| Full

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I set my Caps Lock key to toggle Fullscreen mode in Xmonad?

Low Risk

see XMonad.Layout.MultiToggle You need two imports: key binding: layout: Enjoy.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment