Skip to content

The home shortcut (~/) in the config seems to not work anymore #248

@Dragon-Chicken

Description

@Dragon-Chicken

relative paths in ~/.config/sxwmrc don't work anymore?
I think after the commit 1763280 clean up parser something broke all relative paths in the config file.
an example is:

exec :  "~/.my_auto_start_script"

after changing the above command to this it works:

exec : "/home/my_username/.my_auto_start_script"

so, I used git and reverted back to before the commit 1763280 clean up parser and it looks like before the commit, execvp (in sxwm.c) ran /home/ethan/.sxwm-autostart rather than ~/.sxwm-autostart (it added in the /home/ethan/ by itself) so somewhere in the parser, it used to add the /home/ethan/ before the command, but now it doesn't do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions