Skip to content

Commit

Permalink
use XDG_DATA_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshmllow committed Jul 9, 2024
1 parent 20e5623 commit 66d001c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Based on https://github.com/lf-/affinity-crimes and https://codeberg.org/wanesty

## Usage Instructions

Perform the first time setup which will manipluate `~/.local/share/affinity/`.
Perform the first time setup which will manipluate `$XDG_DATA_HOME/affinity/`.

```bash
nix run github:mrshmllow/affinity-nix#photo
Expand All @@ -16,7 +16,7 @@ nix run github:mrshmllow/affinity-nix#designer
nix run github:mrshmllow/affinity-nix#publisher
```

Update installations in `~/.local/share/affinity/`.
Update installations in `$XDG_DATA_HOME/affinity/`.

```bash
nix run github:mrshmllow/affinity-nix#updatePhoto
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
] (system: function nixpkgs.legacyPackages.${system});
in {
packages = forAllSystems (pkgs: let
affinityPath = "$HOME/.local/share/affinity/";
affinityPath = "$XDG_DATA_HOME/affinity/";
symlink = pkgs.callPackage ./symlink.nix {};

wineUnstable =
Expand Down

0 comments on commit 66d001c

Please sign in to comment.