My entire window manager build. Alacritty config nvim config picom config
- clone the repo
- cd inside dwm
- sudo make install
- cd inside dwmblocks
- sudo make install
- For Neovim, Alacritty & Picom, make sure to add files to .config directory
Once make install for dwm & dwm blocks is complete, we need a way to activate these programs
- in home dir (~) if .xinitrc file doesn't exist, create one (touch .xinitrc).
- inside .xinitrc add the following 2 lines to the end of file.
dwmblocks & exec dwm
Once that is done you can type "startx" into a terminal & your window manager will be ready to go.
- Cycle Layouts - switch between all layouts with (Mod+ctrl+,) or (Mod+ctrl+.)
- Full Gaps - add gaps between windows as well as around edges of screen
- Hide Vacant Tags - hide unused workspaces to avoid seeing numerous unused tags
- Steam - stops steam login window from sliding around
- Mod + return (spawn terminal)
- Mod + shift + return (swap windows)
- Mod + Shift + c (close window)
- Mod + Shift + q (quit DWM)
- Mod + p (spawn rofi)
- Mod + o (spawn code)
- Mod + u (spawn Spotify)
- Mod + ctrl + (, or .) cycle layouts
If changes are desired, you can edit config.def.h. For changes to take effect, remove config.h then while inside dwm repo type "sudo make install".
It is worth mentioning I am using alacritty for my terminal & rofi for application searching. If you want the commands for terminal and rofi to work these must be installed (sudo pacman -S rofi) (sudo pacman -S alacritty) otherwise you will need to change inside of source config.def.h. Finally