You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4.3 KiB
4.3 KiB
Table of Contents
Suckless Setup
My personal suckless configuration. It includes code and installation notes for my personal builds of dwm
, st
, dmenu
and slstatus
.
Installation
Go to the directory of the program you want to install and run sudo make install
on your terminal.
Distribution/OS specific instructions
-
Void Linux:
- Make sure you have the necessary devel packages installed (
base-devel
,X11-devel
,libXft-devel
andlibXinerama
) - Change the paths for the
X11INC
andX11LIB
variables inconfig.mk
to/usr/include/X11
and/usr/lib/X11
respectively before compiling.
- Make sure you have the necessary devel packages installed (
-
FreeBSD / GhostBSD:
- Change the paths for the
X11INC
andX11LIB
variables inconfig.mk
to$(PREFIX)/include
and$(PREFIX)/lib
respectively before compiling. - Uncomment the
FREETYPEINC
line for OpenBSD. - Make sure you have
ncurses
installed on your system before installingst
. - Add the
-lkvm
flag inLDFLAGS
before installingslstatus
.
- Change the paths for the
Changes from the default configuration
dwm
- The default modifier key is set to
Mod4
(Super) - The
col_cyan
color variable is switched with another color variable (col_gray5
) - The default font is set to Unifont 12
- The
Mod+Shift+Enter
keybinding launchesst
by default - The following patches were applied:
- alpha (version 20201019) - Adds transparency on dwm (a compositor like
picom
is needed) - fullgaps (version 20200508) - Adds gaps around and between windows
- centretitle (version 20200907) - Aligns the window title on the center of the bar
- titlecolor (version 20210815) - Allows the color of the title to be set separately from the tabs color
- alpha (version 20201019) - Adds transparency on dwm (a compositor like
st
- The default font is set to Unifont 16
- The default TERM value is set to
xterm-256color
- The default colors are slightly changed (based on the
campbell
theme I used on alacritty) - The following patches were applied:
- alpha (version 20220206) - Adds transparency on st (works similarly to the alpha patch for dwm)
- anysize (version 0.8.4) - Resizes st to fill the entire space
- bold is not bright (version 20190127) - Renders bold text without affecting its color
dmenu
- The default font and color configuration is set from dwm
- A default prompt is set
slstatus
- Updates interval is set to
100ms
- The following status indicators were added:
- Wi-Fi percentage
- Volume percentage - for OSS and PulseAudio (disabled)
- Battery percentage (disabled)
- Keymap and keyboard indicators
- Date and time
Changes from the last version
General
- Changes to
README.md
dwm
- Changed the default rules for GIMP and Firefox
slstatus
- Added a variation of the Wi-Fi indicator, useful for some Linux systems