Making dwm as beautiful as possible!

siduck 1e2be73e1b misc 3 năm trước cách đây
chadwm f496ede348 organize stuff 3 năm trước cách đây
eww b38233da90 nord theme for eww 3 năm trước cách đây
fonts 17c7e16e85 add fonts 3 năm trước cách đây
rofi 313bae593e Add Dracula theme 3 năm trước cách đây
scripts 1e2be73e1b misc 3 năm trước cách đây
.Xresources 521b4b9669 update eww config! 3 năm trước cách đây
.gitignore c5619bbe5a gitignore .ccls cache 3 năm trước cách đây
LICENSE c6b1c2c819 add license 4 năm trước cách đây
README.md 5191be0cab refactor scripts | add credits 3 năm trước cách đây
keyssheet.md 16453d5231 Fixed shortcut conflict in config.def.h 3 năm trước cách đây

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