Generated via Gemini
This document outlines the keyboard and mouse shortcuts configured in the provided xmonad.hs file.
The primary modifier key (Mod) is set to mod1Mask, which is the Alt key on most keyboards.
Mod + Left Mouse Button (drag): Sets the window to floating mode and moves it by dragging.Mod + Middle Mouse Button (click): Raises the clicked window to the top of the stack (makes it the master window).Mod + Right Mouse Button (drag): Sets the window to floating mode and resizes it by dragging.
Mod + Shift + Enter: Launches a new terminal (xterm).Mod + P: Opensdmenuto run an application.Mod + Shift + P: Opensgmrun.Mod + Shift + C: Closes the currently focused window.Mod + Shift + M: Launches theclaws-mailemail client.Mod + Ctrl + P: Takes a screenshot and saves it to~/screenshot.png.
Mod + Space: Cycles to the next available layout.Mod + Shift + Space: Resets the layout to the default configuration.Mod + Shift + B: Toggles the visibility of status bars and docks (likexmobar).Mod + T: Pushes a floating window back into the tiling layout.Mod + F: Makes the focused window floating and fullscreen.Mod + Ctrl + F: Makes the focused window floating and centered at 80% screen size.
Mod + JorMod + Tab: Moves focus to the next window.Mod + K: Moves focus to the previous window.Mod + M: Moves focus to the master window.
Mod + Shift + J: Swaps the focused window with the next window.Mod + Shift + K: Swaps the focused window with the previous window.Mod + H: Shrinks the master area.Mod + L: Expands the master area.Mod + Shift + H: Shrinks the master area in theMirrorlayout.Mod + Shift + L: Expands the master area in theMirrorlayout.Mod + ,(comma): Increases the number of windows in the master area by one.Mod + .(period): Decreases the number of windows in the master area by one.
Mod + Ctrl + Left Arrow: Moves focus to the next screen.Mod + Ctrl + Right Arrow: Moves focus to the previous screen.Mod + Ctrl + O: Moves the currently focused window to the next screen.
Mod + N: Refreshes the screen and redraws windows.Mod + Q: Restarts XMonad.
The following keys correspond to your configured workspaces: 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, -, =, Backspace.
Mod + [Workspace Key]: Switches to the specified workspace.- Example:
Mod + 1switches to workspace "1". - Example:
Mod + -switches to workspace "-".
- Example:
Mod + Shift + [Workspace Key]: Moves the focused window to the specified workspace.- Example:
Mod + Shift + 3moves the current window to workspace "3".
- Example:
Mod + Ctrl + [Workspace Key]: Switches to the specified workspace.- Example:
Mod + Ctrl + 5switches to workspace "5".
- Example:
Volume Up Key: Increases PCM volume.Volume Down Key: Decreases PCM volume.Mute Key: Toggles PCM mute.XF86Launch1: Switches to workspace "1-Main".XF86Launch2: Switches to workspace "2-Temp".XF86Launch3: Switches to workspace "3-Work".XF86Launch4: Switches to workspace "4-Misc".XF86Launch5: Switches to workspace "5-Msg".XF86Launch6: Switches to workspace "6-Media".
Note: These XF86Launch bindings are hardcoded to specific names which differ from the numbered workspaces defined earlier. They will only work if you have workspaces with these exact names (e.g., "1-Main").