AtifChy / xmonad

my Xmonad configuration
MIT License
65 stars 8 forks source link
haskell xmobar xmonad-configuration

XMonad

my xmonad configuration

Table of Contents

Preview

preview 3 preview 1 preview 2

About Setup

Installation

git clone https://github.com/AtifChy/xmonad.git ~/.config/xmonad
stack install

Note: This command creates a xmonad executable file and moves it to ~/.local/bin. Make sure ~/.local/bin is added to your $PATH.

xmonad --recompile
exec xmonad

in your xinitrc. By default xmonad recompiles on every login. If you don't want xmonad to recompile every time you start it then put

exec ~/.local/share/xmonad/xmonad-x86_64-linux

in your xinitrc. It will use previously compiled binary to start xmonad.

Note: My xmonad config reads color & font from Xresources. Here you can find my Xresources. Merge it using xrdb -merge /path/to/Xresources.

Keybind

Some basic keybinds

Keybind Function
Super + Shift + Enter Launch terminal (st)
Super + Shift + C Close window
Super + [1..9] Switch workspaces
Super + Shift + [1..9] Move focused window to certain workspace
Super + P Open XMonad Prompt
Super + B Toggle borders
Super + G Toggle gaps (toggle to get screen space)
Super + I Increase gaps
Super + D Decrease gaps
Super + J Navigate through windows
Super + K Navigate through windows
Super + Shift + B Ignore the bar
Super + Space Switch through layouts
Super + Shift + Space Reset to default layout
Super + T Make a floating window tiled
Super + Shift + T Tile all floating window
Super + Shift + \ Show all keybinds (Requires. gxmessage)
Super + Q Reload xmonad
Super + Shift + Q Exit xmonad

All Keybinds

License

MIT