LukeSmithxyz / voidrice

My dotfiles (deployed by LARBS)
GNU General Public License v3.0
4.27k stars 1.21k forks source link

Shortcuts expandibility #1348

Closed Juliaria08 closed 1 year ago

Juliaria08 commented 1 year ago

I propose we somehow "interpret" the variables defined in $XDG_CONFIG_HOME/directories and $XDG_CONFIG_HOME/files to be interpreted for programs that don't support expanding the variables (like for example a local-modification to my dotfiles, which I plan to use clifm, and I can't write $HOME in the bookmarks file, (extract of what I've done in the script below:))

    printf(\"[%s]%s:%s\n\",\$1,\$1,\$2) >> \"$clifm_shortcuts\"  ;

(This is a line for the folders)

This fails for the reason that the bookmarks file produced has some instances of $HOME and other expansions that won't expand normally with the shortcuts script.

Juliaria08 commented 1 year ago

I guess this would be outside of voidrice's scope.