mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2023-02-13 20:55:19 -05:00
35 lines
1.9 KiB
Markdown
35 lines
1.9 KiB
Markdown
# My Xmonad Configuration (xmonad.hs)
|
|
|
|

|
|
|
|
Xmonad is a tiling window manager for X. Windows are arranged
|
|
automatically to tile the screen without gaps or overlap, maximising
|
|
screen use. Window manager features are accessible from the keyboard:
|
|
a mouse is optional. xmonad is written, configured and extensible in
|
|
Haskell. Custom layout algorithms, key bindings and other extensions
|
|
may be written by the user in config files. Layouts are applied
|
|
dynamically, and different layouts may be used on each
|
|
workspace. Xinerama is fully supported, allowing windows to be tiled
|
|
on several physical screens.
|
|
|
|
This directory houses my personal xmonad configuration (xmonad.hs). To check out my config, you will need to have xmonad, xmonad-contrib and xmobar installed. Then you need to place the xmonad.hs file in ~/.xmonad or in ~/.config/xmonad/. Then recompile xmonad and restart xmonad.
|
|
|
|
# My Keybindings
|
|
|
|
The MODKEY is set to the Super key (aka the Windows key).
|
|
|
|
| Keybinding | Action |
|
|
| :--- | :--- |
|
|
| `MODKEY + Keypad Insert` | opens run launcher (dmenu is the run launcher but can be easily changed) |
|
|
| `MODKEY + Enter` | opens terminal (st is the terminal but can be easily changed) |
|
|
| `MODKEY + SHIFT + c` | closes window with focus |
|
|
| `MODKEY + SHIFT + q` | quits xmonad |
|
|
| `MODKEY + j` | windows focus down (switches focus between windows in the stack) |
|
|
| `MODKEY + k` | windows focus up (switches focus between windows in the stack) |
|
|
| `MODKEY + SHIFT + j` | windows swap down (swap windows in the stack) |
|
|
| `MODKEY + SHIFT + k` | windows swap up (swap the windows in the stack) |
|
|
| `MODKEY + h` | shrink window (decreases window width) |
|
|
| `MODKEY + l` | expand window (increases window width) |
|
|
| `MODKEY + w` | switches focus to monitor 1 |
|
|
| `MODKEY + e` | switches focus to monitor 2 |
|
|
| `MODKEY + r` | switches focus to monitor 3 |
|