From 71d06ef0be533f82a9ddd4bf422a766de494caf0 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 7 Oct 2022 21:55:48 +0900 Subject: feat(home)!: xdg_utils -> xdg-utils * xdg_utils has been renamed --- home/profiles/base/default.nix | 2 +- 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 -- cgit 1.4.1