Skip to content

AtifChy/xmonad

Repository files navigation

XMonad

my xmonad configuration

Table of Contents

Preview

preview 3 preview 1 preview 2

About Setup

Installation

  • First you need stack install it using your package manager or follow their installation guide to install it.

  • Now clone the repo to ~/.config/xmonad

git clone https://github.com/AtifChy/xmonad.git ~/.config/xmonad
  • After cloning it go to that dir cd ~/.config/xmonad and run
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.

  • Recompile xmonad
xmonad --recompile
  • Now you can start using xmonad. Start it using your xinitrc. By putting
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

Releases

No releases published

Packages

No packages published