Skip to content

Instantly share code, notes, and snippets.

@agarie
Last active September 23, 2021 09:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agarie/acb43b1692e8c4bf2704 to your computer and use it in GitHub Desktop.
Save agarie/acb43b1692e8c4bf2704 to your computer and use it in GitHub Desktop.
XMonad cheatsheet, resources, etc.

xmonad

Shortcuts

  • Mod + Shift + Enter -> Open console
  • Mod + Space -> Change tiling mode
  • Mod + j & Mod + k -> Move focus between windows
  • Mod + Shift + c -> Close the focused window
  • Mod + . & Mod + , -> Control the number of windows displayed in the master pane on the left
  • Mod + Enter -> Move the focused window to the master pane on the left
  • Mod + Shift + j & Mod + Shift + k -> Swap the focused window with an adjacent one
  • Mod + h & Mod + l -> Resize the border between the master and secondary panes
  • Mod + Shift + q -> Quit XMonad

Configuring dual monitors

$ xrandr # Will print the aliases for each monitor, i.e. MONITOR{1,2} below.
$ xrandr --output MONITOR2 --auto --left-ot MONITOR1

https://superuser.com/questions/330498/xmonad-same-application-is-appearing-on-both-monitors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment