Skip to content

Environment variables to make programs use xdg-ish folders.

License

Notifications You must be signed in to change notification settings

OliverSherouse/xdgvars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

XDGvars

Environment variables to make programs use xdg-ish folders.

The Big Idea

There are too many programs that stick a .foo folder in your home directory. It would be better if most of them followed the XDG structure. Until then, some allow you to set configuration and data directories with environment variables. This project provides xdgvars.sh, which sets many of those for you.

Installation and use

To install, clone or download this repository to your $XDG_CONFIG_HOME folder and source xdgvars.sh in your ~/.bash_profile with a snippet like this:


if [ -f $XDG_CONFIG_HOME/xdgvars/xdgvars.sh ]; then
    source $XDG_CONFIG_HOME/xdgvars/xdgvars.sh 
fi

About

Environment variables to make programs use xdg-ish folders.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages