my dwm setup for FreeBSD
Find a file
Muhammad Rafiuddin e337cbb8cd
Update README.md
2022-03-12 07:23:09 +08:00
dwm+hide-vacant-tags Update README.md 2022-01-10 21:25:16 +08:00
dwm+hide-vacant-tags+bar-height Add files via upload 2022-03-12 07:17:13 +08:00
dwm+hide-vacant-tags+leftlayout I put the layout before tag numbers with 2022-01-10 21:23:02 +08:00
dwm-basic update 2022-03-05 22:29:47 +08:00
README.md Update README.md 2022-03-12 07:23:09 +08:00

Welcome to my DWM Setup on FreeBSD

This is my very first DWM 6.2 newest build. Very simple and works well for my workflow.

Features

The cool feature on this DWM setup is created with solid patches. I explore some patches and I think only this 6 pathes works great on my workflow.

I use SLStatus because it works very well on my FreeBSD and easy to setup. Plase go to SLSTATUS folder on this setup.

Patches in this DWM

  • Autostart // use to make autostart.sh file run after DWM first start on system
  • Warp // make mouse always follows the focus screen
  • Fullgaps // create gaps between opened window and can be toggled
  • Systray // I use this to set tray before the SLStatus (date, uptime, volume status)
  • Pertag // use this to make different tag mode for every tag. Ex: [1] set to Floating, but in [2] can set to Monocle
  • Alwayscenter // make floating window always in center of the screen

Update some addition patches :

  • Hide Vacant Tags // To show only active number of tags on the bar

One directory specially add :

  • Bar Height // To set manual height of bar

Keybinds

There is no fancy binding, I make default DWM keybind to keep DWM as it is.

Only change for mod key set to windows key.

Dependencies apps

Some apps might have to install to make config.h file works well, such as:

  • pamixer
  • rofi
  • feh
  • scrot
  • copyq
  • kitty
  • arandr
  • pcmanfm
  • firefox
  • picom

Fonts

I prefer using this font

  • SF Pro Display Medium for system
  • JetBrains Mono for terminal font

Best for FreeBSD

  • Liberation Sans

How to setup this DWM build

This is important thing to do

  1. To make transparent effect, you can set picom.conf which is include in this build
  2. Crate symbolic link of autostart.sh file on ~/.local/share/dwm/
    • cd ~/.local/share/dwm/
    • ln -s path/to/autostart.sh autostart.sh

Screenshot

DWM Basic

dwm screenshot - minimalist - solid - mrfdn

DWM + Vacant Tags

dwm screenshot - vacant tags

DWM + Vacant Tags + Bar Height

dwm screenshot - vacant tags - bar height

dwm - dynamic window manager

dwm is an extremely fast, small, and dynamic window manager for X.

Requirements

In order to build dwm you need the Xlib header files.

Installation

Edit config.mk to match your local setup (dwm is installed into the /usr/local/ namespace by default).

Afterwards enter the following command to build and install dwm (if necessary as root):

make clean install

Running dwm

Add the following line to your .xinitrc to start dwm using startx:

exec dwm

In order to connect dwm to a specific display, make sure that the DISPLAY environment variable is set correctly, e.g.:

DISPLAY=foo.bar:1 exec dwm

(This will start dwm on display :1 of the host foo.bar.)

In order to display status info in the bar, you can do something like this in your .xinitrc:

while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
do
	sleep 1
done &
exec dwm

Configuration

The configuration of dwm is done by creating a custom config.h and (re)compiling the source code.