mako: Include color configuration
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.
This commit is contained in:
parent
6086f47023
commit
c2e64a17e0
4 changed files with 10 additions and 14 deletions
5
desktop/.config/sh/env.d/mako-create-style-dir.sh
Normal file
5
desktop/.config/sh/env.d/mako-create-style-dir.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue