Migrated from Forgejo: mattc-old/suckless
- C 83.8%
- Shell 6.2%
- Roff 5%
- Python 2.9%
- Makefile 2.1%
| broken-dwm-patches | ||
| dwm | ||
| rofi-theme | ||
| .gitignore | ||
| backlight.py | ||
| bldn.sh | ||
| blup.sh | ||
| displays.sh | ||
| dune.jpg | ||
| make.sh | ||
| README.md | ||
| screenshot.sh | ||
| slstatus.config.desktop.h | ||
| slstatus.config.h | ||
| update-displays.sh | ||
| wallpaper.jpg | ||
| xinitrc | ||
| Xresources | ||
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 editbacklight.pyif the directory isn'tintel_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.