diff options
author | sefidel <contact@sefidel.net> | 2022-10-07 21:55:48 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-10-07 21:56:48 +0900 |
commit | 71d06ef0be533f82a9ddd4bf422a766de494caf0 (patch) | |
tree | 5018ceb7f02baf342649a4d5af68a37b303717ce /home/profiles | |
parent | 18e73db37b99f18842abdb8427e1243e8c032e2a (diff) | |
download | nixrc-71d06ef0be533f82a9ddd4bf422a766de494caf0.tar.gz nixrc-71d06ef0be533f82a9ddd4bf422a766de494caf0.zip |
feat(home)!: xdg_utils -> xdg-utils
* xdg_utils has been renamed
Diffstat (limited to 'home/profiles')
-rw-r--r-- | home/profiles/base/default.nix | 2 | ||||
-rw-r--r-- | home/profiles/messaging/default.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix index 7b1922c..fdd524c 100644 --- a/home/profiles/base/default.nix +++ b/home/profiles/base/default.nix @@ -76,7 +76,7 @@ in pkgs.waybar pkgs.bemenu pkgs.qt5.qtwayland - pkgs.xdg_utils + pkgs.xdg-utils # Nix Tools pkgs.nix-index diff --git a/home/profiles/messaging/default.nix b/home/profiles/messaging/default.nix index eb45cc9..9c829e0 100644 --- a/home/profiles/messaging/default.nix +++ b/home/profiles/messaging/default.nix @@ -280,7 +280,7 @@ in # Helps open a file with xdg-open from mutt in a external program without weird side effects. tempdir="''${TMPDIR:-$(mktemp -d)}" file="$tempdir/$(basename "$1")" - [ "$(uname)" = "Darwin" ] && opener="open" || opener="${setsid} -f ${pkgs.xdg_utils}/bin/xdg-open" + [ "$(uname)" = "Darwin" ] && opener="open" || opener="${setsid} -f ${pkgs.xdg-utils}/bin/xdg-open" mkdir -p "$tempdir" cp -f "$1" "$file" $opener "$file" >/dev/null 2>&1 |