This is a DWM patches from Chris Titus Tech. I’ve tweaked and configured the patches to suit my personal workflow, but it’s simple enough for anyone to use.
Dependencies
Arch Linux
sudo pacman -S --needed --noconfirm base-devel libx11 libxinerama libxft imlib2 libxcb git unzip flameshot lxappearance feh mate-polkit meson libev uthash libconfig meson ninja
Debian/Ubuntu-based
sudo apt install -y build-essential libx11-dev libxinerama-dev libxft-dev libimlib2-dev libx11-xcb-dev libfontconfig1 libx11-6 libxft2 libxinerama1 libxcb-res0-dev git unzip flameshot lxappearance feh mate-polkit meson ninja-build
Fedora
sudo dnf install -y libX11-devel libXinerama-devel libXft-devel imlib2-devel libxcb-devel unzip flameshot lxappearance feh mate-polkit meson ninja-build
For Installating necessary dependencies & stuffs run this command:
bash <(curl -L https://raw.githubusercontent.com/harilvfs/dwm/refs/heads/main/setup.sh)
Install
git clone https://github.com/harilvfs/dwm ~/
cd ~/dwm
sudo make clean install
Install slstatus
cd ~/dwm/slstatus
sudo make clean install
Add this to your ~/.xinitrc
exec dwm &
slstatus
Important
After installation, remember to adjust some keybindings in config.h
to fit your use case.
Note
Default keybinding for terminal is mod + x
and for rofi is mod + r
.
Arch Linux
sudo pacman -S tmux
Debian
sudo apt install tmux
Fedora
sudo dnf install tmux
openSUSE
sudo zypper install tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
cd ~/.tmux/plugins/tpm
chmod +x tpm
./tpm
- Create the configuration directory:
mkdir ~/.config/tmux
- Download the tmux configuration file:
wget https://raw.githubusercontent.com/harilvfs/dwm/refs/heads/main/config/tmux/tmux.conf ~/.config/tmux/
- Install Config Plugins
cd ~/.tmux/plugin/tpm/scripts/
chmod +x *.sh
./install_plugins.sh
- Update Plugins
cd ~/.tmux/plugin/tpm/scripts/
./update_plugin.sh
For transparency settings, check out this ➤ Picom Config.
For the inbuild animation of picom, check out this ➤ FT-LABS
To use the inbuilt animations provided by FT-Labs picom
, follow the steps below:
First Install Aur Helper (eg. paru or yay)
Paru
sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
Yay
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
paru -S picom-ftlabs-git
picom-ftlabs-git Package Maintainer fazzi
Assuming you already have all the usual building tools installed (e.g. gcc, python, meson, ninja, etc.)
For one click installing & setup use my Carch Project