Kirottu / kidex

A simple file indexing service for looking up file locations
GNU General Public License v3.0
19 stars 1 forks source link

Allow using `~` or `$HOME` to represent to home directory #3

Open 00-kat opened 7 months ago

00-kat commented 7 months ago

Right now:

WatchDir(
      path: "/home/yourcoolusername/Documents",
)

Instead, why not have:

WatchDir(
      path: "~/Documents",
)

or

WatchDir(
      path: "$HOME/Documents",
)

(preferably the first one)

If you copy your config to another machine which has a different username (or change your username on your current machine), there's one less file to worry about.