- Personal build of DWM
- Built and tested on Void Linux
- autostart
- fullgaps
- actualfullscreen
- colorbar
- barpadding
- resizecorners
- make
- conky
- pango
- pango-devel
- pkg-config
- automake
- autoconf
- xorg-util-macros
- libtool
- libXext-devel
- harfbuzz-devel
- libXcursor-devel
- libX11-devel
- libXrender-devel
- libXft
- libXft-bgra (https://github.com/uditkarode/libxft-bgra)
- libXft-devel
- libXinerama
- libXinerama-devel
- libX11-devel
- fontconfig
- fontconfig-devel
- freetype-devel
- pamixer
- brightnessctl
- gcc
- Every other dependency that are included with the previously stated.
- Clone this repository,
git clone https://github.com/ilhamisbored/dwm-dotfiles
in your home directory. cd
into the dwm-dotfiles directory after git cloning the repository.cd
into thedwm
directory.- Run
chmod +x autostart.sh
to make the autostart file an executable - Run
sudo make clean install
, under the assumption that you installed the required dependencies.
- Rename
conkyrc
to.conkyrc
and place the file in your home directory. - Conky Symbols (paste in
~/.local/share/fonts
): https://cdn.discordapp.com/attachments/746213996067291138/1040476182895923280/ConkySymbols.ttf
- Install acpi
cd
into the dwmblocks directory- Run the
sudo make clean install
command. cd
into thescripts
directory and runchmod +x *
to make the scripts executable- For Void users, download my script for the updates block. Link: https://github.com/ilhamisbored/xbps-updates
- Installation commands are in the
xbps-updates
GitHub repository.. - For non-Void users, find out your distro's update checking command and edit the updates block.
cd
into the st directory- Run the
sudo make clean install
command
As you can see in this repo, my build of DWM has many QoL patches.
If you wish to remove a patch/add more patches, install patch
from your distro's pkg manager.
To remove a patch:
patch -R < patch-name.diff
- correct any errors that may happen
rm config.h
sudo make clean install
To add a patch
patch -Np1 < patch-name.diff
- correct any errors that may happen
rm config.h
sudo make clean install
Create a .desktop file in /usr/share/xsessions/
[Desktop Entry]
Name=dwm
Comment=Dynamic Window Manager
Exec=dwm
Type=Application
I personally am using scrot, st, and rofi. If you wish to use something else, you can edit the config.def.h file to replace rofi with any other run launcher, terminal, screenshot manager etc. of your choice.
Source Code Pro (https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/SourceCodePro.zip)
SFMono Nerd Font Ligaturized (https://github.com/shaunsingh/SFMono-Nerd-Font-Ligaturized)
- Clone both of the directories.
- Paste them in
~/.local/share/fonts
(create the directory if you don't have it by runningmkdir ~/.local/share/fonts
. - Move contents of the
SFMono-Nerd-Font
directory into~/.local/share/fonts
. - Run
unzip *.zip
(Install the package if you do not have it installed).
I'm using most of the default hotkeys, with a few changes here and there.
- The modkey is the Super/Windows/Command key.
- Mod + Space opens rofi
- Mod + W closes focused application
- Printscreen opens the snip screenshot mode for scrot
- Mod + Printscreen takes a screenshot of the entire screen
- Mod + Shift + Q kills the current dwm process
Go through the Installation step again.
- Move all the files from the
dwm-dotfiles
directory into the~/.config/
directory except forconkyrc
. - Make sure to create a symlink of
~/.config/dwm
in your home directory for the autostart patch to work.ln -sf ~/.config/dwm ~/.dwm