Skip to content
/ dwm Public

🐧💻 My dwm build with applied patches and customizations

License

Notifications You must be signed in to change notification settings

hertg/dwm

Repository files navigation

dwm

Requirements

To change the text in the statusbar, you need to have the xsetroot command available.

pacman -S xorg-xsetroot

Installation

make clean install

Create a startdwm script with the following content.

#!/bin/sh

dwmblocks &

while true; do
    dwm &>> ~/.dwm.log
done

Create a .desktop file at /usr/share/xsessions to allow choosing dwm in your display-manager.

[Desktop Entry]
Name=dwm
Comment=suckless dwm
Exec=/home/michael/scripts/startdwm
Type=Application

Tip for Chromium In order to display the dwm borders on Chromium/Chrome windows, right click on the "title bar" at the top of Chromium and toggle Use system title bar and borders.

Patches

Official

Additional

  • Fix border transparency bug for transparent terminal windows (attribution)
  • Add top/bottom padding to bar, change square to full-width line
  • Choose the centeredmaster layout if the screensize is greater than 2560px
  • Implement function to resize a window to 1920x1080. Useful for screen recording.

Keybindings

Not all keybindings are listed here, only the ones that aren't obvious.

Basic

  • Toggle bar super + b

Navigation

  • Increase number of master windows super + i
  • Decrease number of master windows super + d
  • Move focus to next screen super + ,
  • Move focus to previous screen super + .
  • Move active window to next screen super + shift + ,
  • Move active window to previous screen super + shift + .

Gaps

  • Toggle gaps alt + super + 0
  • Reset gaps to default alt + super + shift + 0
  • Increase gaps alt + super + h
  • Decrease gaps alt + super + l

Additional Features

  • Resize window to 1920x1080 super + shift + r

Attribution

Some parts of the source code, mostly the vanitygaps patches for the custom layouts, have been copied from Luke Smith's dwm.

About

🐧💻 My dwm build with applied patches and customizations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published