Skip to content

ferDev27/dwm

Repository files navigation

ferDev27's custom build of DWM

dwmls dwm1 dwm2

Contents

Showcase

Showcase

Suckless dwm

Patches

  • alwayscenter
  • attachbottom
  • autostart(.local/share/dwm/autostart.sh)
  • centeredmaster
  • cursorwarp
  • cyclelayouts
  • grid
  • movestack
  • pertag
  • rainbowtags
  • status2d
  • Systray
  • statuspadding
  • swallow
  • titlecolor
  • underlinetags
  • uselessgap
  • windowmap

Extra

  • Monocle layout doesn't stack the windows.
  • Customizable systray iconsize.
  • Fix transparent borders when using a compositor like picom.
  • Added dynamic layout symbol highlighting.
  • Occupied tags match it's own color, box indicator removed.
  • Fix gaps not displaying correctly.
  • Tags highlight only when windows are open on them.

Future

Future plans and patches I would like to implement

  • Keep it up to date with the latest dwm commits

Dependencies

If you use different software feel free to tweak the config.h file. Assuming a base install of Arch linux:

  • First we will need some basic things:
sudo pacman -S base-devel xorg-server xorg-xinit libx11 libxinerama libxft webkit2gtk

Terminal:

  • st

  • Alacritty

sudo pacman -S alacritty

Menu:

File Manager:

  • ranger
sudo pacman -S ranger

Internet browser:

sudo pacman -S qutebrowser
sudo pacman -S firefox

Screen and Audio:

  • brightnessctl
  • pulseaudio pamixer
sudo pacman -S brightnessctl pulseaudio pulseaudio-alsa pamixer

Screenshots:

  • scrot
sudo pacman -S scrot

Healthy Eyes

sudo pacman -S redshift 

Font:

  • Ubuntu Mono Nerd Font
sudo pacman -S ttf-ubuntu-mono-nerd ttf-jetbrains-mono-nerd 
  • Emoji font
sudo pacman -S noto-fonts-emoji

Status bar:

Notifications

  • If you want notifications, you will need:
sudo pacman -S libnotify notification-daemon
sudo pacman -S dunst
  • In the case of Tiling Window Managers, create this file:
sudo touch /usr/share/dbus-1/services/org.freedesktop.Notifications.service

And paste these:

[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/notification-daemon-1.0/notification-daemon

Check the Arch wiki for details

Additional software

Software that I use alongside the WM:

Compositor:

  • picom
sudo pacman -S picom

Media:

  • feh
sudo pacman -S feh
  • lock screen
sudo pacman -S xautolock
  • ffmpeg
sudo pacman -S ffmpeg
  • sxiv
sudo pacman -S sxiv
  • mpv
sudo pacman -S mpv

PDF Reader:

  • zathura
sudo pacman -S zathura zathura-ps zathura-pdf-poppler 

Clipboard:

sudo pacman -S xclip 

Other:

sudo pacman -S wmname pacman-contrib
  • Xbanish
yay -S xbanish

Optional:

  • Better formatting output:
sudo pacman -S jq tidy
  • CLI picker and image processing
sudo pacman -S gpick imagemagick

Installation

I highly recommend placing the dwm folder into your .config folder and clone the repo

cd $HOME/.config
git clone https://github.com/ferDev27/dwm.git

I provide a simple install script for dwm, dmenu and dwmblocks

cd dwm/scripts 
./installScript