dwm is an extremely fast, small, and dynamic window manager for X.
-
Download DWM files
wget https://dl.suckless.org/dwm/dwm-6.2.tar.gz
-
Install dependencies:
sudo apt install libx11-dev libxft-dev libxinerama-dev xorg
-
Make and install from code
tar -xvf dwm-6.2.tar.gz
cd dwm-6.2
sudo make clean install
-
Download dmenu
wget https://dl.suckless.org/tools/dmenu-5.0.tar.gz
-
Install dmenu
tar -xvf dmenu-5.0
cd dmenu-5.0
sudo make clean install
-
Download simple terminal st
wget https://dl.suckless.org/st/st-0.8.4.tar.gz
-
Install simple terminal
tar -xvf st-0.8.4.tar.gz
cd st-0.8.4
sudo make clean install
-
Remove
GDM3
, as the only desktop environment we need isDWM
, and it comes by default when you installxorg
sudo apt remove gdm3
-
Create .xinitrc file, to start DWM
cd ~
echo dwm > .xinitrc
-
Start the graphical interface:
cd ~
echo startx >> .bash_profile
-
For
Transparency
, you must installpicom
Follow steps on this repository: https://github.com/yshui/picom.git If you like to haveBlur
effects, install thispicom
instead: https://github.com/jonaburg/picom -
To control brightness, install
xbacklight
sudo apt install xbacklight
Configure Brightness:
vim /etc/X11/xorg.conf
Paste this in case your have Intel Graphics Card:
Section "Device" Identifier "Intel Graphics" Driver "intel" Option "Backlight" "intel_backlight" EndSection