Skip to content

derrotebaron/xdg-basedir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xdg-basedir Build Status

This library provides variables for paths in the XDG Base Directory Specification.

The specification can be found at http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Leiningen

Clojars Project

Examples

(require '[xdg-basedir.dirs :as dirs])

dirs/xdg-data-home
	"/home/johannes/.local/share"

dirs/xdg-config-home
	"/home/johannes/.config"

dirs/xdg-cache-home
	"/home/johannes/.cache"

dirs/xdg-data-dirs
	["/usr/local/share/" "/usr/share/"]

dirs/xdg-config-dirs
	["/etc/xdg"]

dirs/xdg-runtime-dir
	"/run/user/1000"

License

Copyright © 2015 Johannes Knödtel

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Clojure Implementation of the XDG Base Directory Specification

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published