Skip to content

About

My build of Suckless's softwares

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

suckless-stuff

My daily-driver builds of the suckless tools: dwm, st, dmenu, slock and slstatus.

X11 C License

Desktop


Gallery

Tiled Monocle with tabs
Tiled layout Monocle with tab bar
dmenu Scratchpads
dmenu Scratchpads
st slock
st slock

What's inside

Tool Version Role Highlights
dwm 6.2 Window manager Vanity gaps, scratchpads, swallow, tab bar, systray, underline tags, 6 layouts, 6 colour schemes
st 0.8.2 Terminal Ligatures, scrollback, boxdraw, transparency, live Xresources reload, URL open/copy through dmenu
dmenu 5.0 Launcher Stock dmenu, coloured by dwm's active scheme
slock 1.4 Screen locker Translucent lock screen (blurred by picom), custom message, One Dark colours
slstatus — Status bar Minimal date and time: [Mon 26] [03:45]

Colour schemes

dwm ships with six schemes in dwm/scheme/. dmenu takes its colours from the active one.

Scheme Bar Text Selected Border
monochrome (default) #151314 #7b797a #a7a5a6 #4b494a
everblush #141B1E #B3B9B8 #E57474 #E57474
gruv #282828 #666666 #EBDBB2 #A89984
nord #2e3440 #666666 #d8dee9 #88C0D0
onedark #282C34 #666666 #ABB2BF #98C379
serenade #2a2f33 #5d5c50 #c1bf89 #c1bf89

To switch, change the include in dwm/config.h and rebuild:

#include "scheme/nord.h"

Installation

1. Dependencies

Debian / Ubuntu

sudo apt install build-essential pkg-config libx11-dev libx11-xcb-dev libxcb-res0-dev \
  libxft-dev libxinerama-dev libxrandr-dev libxext-dev libxrender-dev \
  libfontconfig-dev libharfbuzz-dev

Arch

sudo pacman -S base-devel libx11 libxcb libxft libxinerama libxrandr libxext libxrender \
  fontconfig harfbuzz

2. Fonts

Font Used by
Terminus dwm bar, dmenu, st
JetBrainsMono Nerd Font dwm bar (icons)
NotoSansMono Nerd Font dwm bar (fallback)
Iosevka Nerd Font st (fallback glyphs)

3. Build and install

git clone https://github.com/fa-saikat/suckless-stuff ~/.local/share/suckless-stuff
cd ~/.local/share/suckless-stuff

for tool in dwm st dmenu slock slstatus; do
  (cd "$tool" && sudo make clean install)
done

Everything installs to /usr/local. dwm also installs a session entry in /usr/share/xsessions/, so it shows up in display managers like SDDM, LightDM or GDM.

If you use startx, add this to ~/.xinitrc:

exec dwm

4. Autostart

On startup dwm runs autostart.sh from the first of these directories that exists:

  1. $SUCKLESS_HOME/dwm
  2. $XDG_DATA_HOME/suckless-stuff/dwm
  3. ~/.local/share/suckless-stuff/dwm
  4. ~/.dwm

If you cloned somewhere else, point SUCKLESS_HOME at the repo in a file your login shell reads (such as ~/.profile):

export SUCKLESS_HOME="$HOME/path/to/suckless-stuff"

The bundled autostart.sh starts nitrogen, dunst, sxhkd, slstatus, picom, nm-applet, volumeicon, ibus, qBittorrent and a polkit agent. Remove whatever you don't use.


Configuration

Following the suckless way, there are no runtime config files. Each tool is configured by editing its source and recompiling.

  • config.def.h holds the defaults shipped with this repo.
  • config.h is your personal copy. make creates it from config.def.h the first time, and it is never tracked by git.
cd dwm
$EDITOR config.h
sudo make clean install

Restart dwm in place with Super + Shift + r; open windows are kept.


Keybindings

Super is the modifier for dwm. The full list is in dwm/README.md.

Key Action
Super + Return Terminal (kitty)
Super + p dmenu
Super + w Toggle tab bar
Super + e File manager (Dolphin)
Super + q Close window
Super + j / k Focus next / previous window
Super + Shift + j / k Move window down / up the stack
Super + h / l Shrink / grow master area
Super + \ Promote window to master
Super + Space Toggle floating
Super + t / f / g / m / c Tile / float / grid / monocle / centred master
Super + 1–9 Switch to tag
Super + Shift + 1–9 Move window to tag
Super + , / . Previous / next tag
Super + Shift + Return Scratchpad terminal
Super + v Scratchpad volume control
Super + Shift + r Restart dwm
Super + Shift + q Quit dwm

st keybindings are in st/README.md.


Repository layout

suckless-stuff/
├── dwm/        window manager, schemes in dwm/scheme/, autostart.sh
├── st/         terminal, plus the st-urlhandler and st-copyout scripts
├── dmenu/      launcher
├── slock/      screen locker
├── slstatus/   status bar
└── assets/     screenshots used in this README

Credits

  • suckless.org for the original tools.
  • siduck76, whose st build this one started from.
  • Luke Smith for the ligatures patch and the st-urlhandler / st-copyout scripts.
  • khuedoan for the picom blur approach in slock.
  • The authors of the dwm patches listed in dwm/README.md.

License

Each tool keeps its upstream MIT/X license. See the LICENSE file in each directory.

About

My build of Suckless's softwares

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages