i3wm: does not resolve tilde in default config path
By default, i3 tries to read and create to $HOME/~/.config/i3/config
;
a directory literally named ~
is created under $HOME
at first run.
Defining XDG_CONFIG_PATH
to an absolute path works around the issue.
This is a presumably the result of musl.patch
in the aports tree
replacing resolve_tilde()
with a trivial call to strdup
.
(tested with edge on rpi2)
(from redmine: issue id 5078, created on 2016-02-06, closed on 2017-04-07)
- Changesets:
- Revision 5d7a4ebb by Mark White on 2016-02-15T10:42:08Z:
testing/i3wm: expand tilde in config path
Expand ~ to $HOME if path begins with "~/". Not a complete GLOB_TILDE,
but fixes current default use of literal "$HOME/~/.config/i3".
fixes #5078