Making dwm as beautiful as possible!

sioodmy 69d4fe763c Make moving and resizing windows more smooth 3 anni fa
chadwm 69d4fe763c Make moving and resizing windows more smooth 3 anni fa
eww 5191be0cab refactor scripts | add credits 3 anni fa
fonts 17c7e16e85 add fonts 3 anni fa
rofi 839ae3d9e7 add onedark theme in eww | more rofi themes 3 anni fa
scripts c704de32f0 Fixed the fetch script 3 anni fa
.Xresources 521b4b9669 update eww config! 3 anni fa
.gitignore c5619bbe5a gitignore .ccls cache 3 anni fa
LICENSE c6b1c2c819 add license 4 anni fa
README.md 5191be0cab refactor scripts | add credits 3 anni fa
keyssheet.md 7fcc2df9b5 rm layoutmenu 3 anni fa

README.md

chadwm (Initial look)

(empty workspaces have their color greyed out)

  • NOTE: This is vanilla dwm bar (status2d patch for setting colors) not dwmblocks or polybar.
  • The small widget over the top right is an eww widget and thats old! Ive improved the eww widget (catppuccin theme) (gruvbox material dark)

Tag preview (while hovering tag icon)

https://user-images.githubusercontent.com/59060246/128050994-17f46934-6604-4430-bece-f60b0700b6be.mp4

Requirements

  • dash (shell)
  • imlib2
  • xsetroot package ( status2d uses this to add colors on dwmbar)
  • JetbrainsMono Nerd Font (or any nerd font) and Material design icon font

Setup

git clone https://github.com/siduck/chadwm --depth 1
mv chadwm ~/.config
cd ~/.config/chadwm/chadwm
sudo make install
  • copy the stuff from fonts folder to your ~/.local/share/fonts
  • autostart script in the scripts dir is just an example one so it must be adjusted for your liking!

Run chadwm

Run the autostart file from .xinitrc

(.xinitrc file)

#!/bin/sh

exec ~/.config/chadwm/scripts/./autostart

OR

Create a desktop entry

touch /usr/share/xsessions/chadwm.desktop  
[Desktop Entry]
Name=chadwm
Comment=dwm made beautiful 
Exec= ~/.config/chadwm/scripts/./autostart 
Type=Application 

Recompile

  • You need to recompile dwm after every change you make in its src code

    cd ~/.config/chadwm/chadwm
    rm config.h
    sudo make install
    

Change themes

  • Bar : in bar.sh and config.def.h
  • eww : in eww.scss
  • rofi : in config.rasi

Credits

  • HUGE THANKS to eProTaLT83. I wanted certain features in dwm like tabbar in monocle , tagpreview etc and he implemented my ideas and created patches for me! I cant even count the number of times he has helped me :v
  • @fitrh helped with colorful tag patch
  • 6gk, eww's pure posix fetch functions taken from here

Patches

  • barpadding
  • bottomstack
  • cfacts
  • dragmfact
  • dragcfact (took from bakkeby's build)
  • fibonacii
  • gaplessgrid
  • horizgrid
  • movestack
  • vanity gaps
  • colorful tags
  • statuspadding
  • status2d
  • underline tags
  • notitle