index.md - sites - public wiki contents of suckless.org
(HTM) git clone git://git.suckless.org/sites
(DIR) Log
(DIR) Files
(DIR) Refs
---
index.md (593B)
---
1 Environment Variables
2 =====================
3
4 Description
5 -----------
6 This patch loads the name of the terminal emulator to be used as `termcmd`
7 from the environment variable `TERMINAL` using `getenv(3p)`.
8 It may be set as follows:
9
10 `$ export TERMINAL="$(which st)"`
11
12 The environment variable to use may be changed with the `TERMINAL_ENVVAR`
13 preprocessor macro.
14 A similar patch could be created for the `dmenucmd`.
15
16 Download
17 --------
18 * [dwm-environmentvars-terminal-20210807-dd4b656.diff](dwm-environmentvars-terminal-20210807-dd4b656.diff)
19
20 Author
21 ------
22 * Aidan Hall <aidan.hall@outlook.com>