1. sudo pacman -Syu // update
2. sudo pacman -S vim git base-devel // install "vim" editor, "git" and "base-devel"
3. sudo pacman -S dmenu // install dmenu
4. git clone https://git.suckless.org/dwm
5. git clone https://git.suckless.org/st
6. cd dwm
7. sudo make clean install
8. cd
9. cd st
10. sudo make clean install
11. cd
12. cd /usr/share/xsessions
13. sudo vim DWM.desktop
14. /* Edit the "DWM.desktop" file and type the following: (to enter "INSERT" mode and start typing, type "i" first. To return to "COMMAND" mode again, use "ESC". To save and exit type ":wq" from the COMMAND mode.) */
[Desktop Entry]
Encoding=UTF-8
Name=DWM
Comment=Dynamic Window Manager
Exec=/usr/local/bin/dwm
Icon=
Type=Application
15. // logout of the current session and login again, using this time the DWM option
2. sudo pacman -S vim git base-devel // install "vim" editor, "git" and "base-devel"
3. sudo pacman -S dmenu // install dmenu
4. git clone https://git.suckless.org/dwm
5. git clone https://git.suckless.org/st
6. cd dwm
7. sudo make clean install
8. cd
9. cd st
10. sudo make clean install
11. cd
12. cd /usr/share/xsessions
13. sudo vim DWM.desktop
14. /* Edit the "DWM.desktop" file and type the following: (to enter "INSERT" mode and start typing, type "i" first. To return to "COMMAND" mode again, use "ESC". To save and exit type ":wq" from the COMMAND mode.) */
[Desktop Entry]
Encoding=UTF-8
Name=DWM
Comment=Dynamic Window Manager
Exec=/usr/local/bin/dwm
Icon=
Type=Application
15. // logout of the current session and login again, using this time the DWM option
Last edited: