Migrated from Forgejo: mattc-old/suckless
  • C 83.8%
  • Shell 6.2%
  • Roff 5%
  • Python 2.9%
  • Makefile 2.1%
Find a file
2026-04-06 01:14:59 -04:00
broken-dwm-patches suffering 2023-11-09 13:48:11 -05:00
dwm i forgor 2026-04-06 01:14:59 -04:00
rofi-theme orange minimal rofi 2025-11-13 13:45:11 -05:00
.gitignore refactors for desktop 2026-04-05 23:04:38 -04:00
backlight.py improving backlight 2025-11-13 13:52:46 -05:00
bldn.sh improving backlight 2025-11-13 13:52:46 -05:00
blup.sh improving backlight 2025-11-13 13:52:46 -05:00
displays.sh refactors for desktop 2026-04-05 23:04:38 -04:00
dune.jpg im knobhead and named image wrong 2023-02-24 02:51:03 -05:00
make.sh replace maim/slop source builds with packages, add gnome-keyring session support 2026-04-05 23:02:51 -04:00
README.md replace maim/slop source builds with packages, add gnome-keyring session support 2026-04-05 23:02:51 -04:00
screenshot.sh changes for slackware 2023-03-20 14:49:20 -04:00
slstatus.config.desktop.h refactors for desktop 2026-04-05 23:04:38 -04:00
slstatus.config.h many change for gentoo 2024-03-01 16:11:03 -05:00
update-displays.sh refactors for desktop 2026-04-05 23:04:38 -04:00
wallpaper.jpg switch wallpaper 2023-02-24 01:13:55 -05:00
xinitrc i forgor 2026-04-06 01:14:59 -04:00
Xresources suffering 2023-11-09 13:48:11 -05:00

Suckless

dwm setup

Versions:

  • dwm: 6.4
  • slstatus: latest git from a personal fork
  • maim: latest from git repo
  • slopy: latest from git repo
  • Others: latest from system package manager

Depends

Various programs are installed using the system's package manager. The script currently only auto-detects pacman, apt, emerge, and slackpkg

Usage

Scenario Command
Laptop ./make.sh --laptop
Single-monitor desktop ./make.sh --desktop
Multi-monitor desktop ./make.sh --desktop --multi

Running ./make.sh with no arguments will prompt interactively.

--laptop installs backlight tools and includes battery status in the status bar. --desktop skips both. --multi deploys displays.sh for managing monitor layouts.

Things to change:

  • Look over make.sh
  • xinitrc, since by default it gets copied to ~/
  • Run ls /sys/class/backlight (on laptops), and edit backlight.py if the directory isn't intel_backlight.

Manual system changes

These are not applied by make.sh and must be done by hand on each machine.

Keyring auto-unlock (/etc/pam.d/login)

Add pam_gnome_keyring.so to the auth and session stacks so the keyring unlocks on TTY login (before startx):

auth       optional     pam_gnome_keyring.so
session    optional     pam_gnome_keyring.so auto_start

Place the auth line after auth include system-local-login, and the session line after session include system-local-login.