Include the color config for mako from ~/.local/state/mako/style instead of hardcoding it or templating it into the config file. This means we have to ensure the directory and file exist before running mako which we do with an `env.d` startup script.
5 lines
328 B
Bash
5 lines
328 B
Bash
#!/usr/bin/env sh
|
|
# Ensure the directory and file for mako style exists or it errors out on startup
|
|
|
|
[ -e "${XDG_STATE_HOME:-$HOME/.local/state}/mako" ] || mkdir -p "${XDG_STATE_HOME:-$HOME/.local/state}/mako"
|
|
[ -f "${XDG_STATE_HOME:-$HOME/.local/state}/mako/style" ] || touch "${XDG_STATE_HOME:-$HOME/.local/state}/mako/style"
|