diff --git a/modules/scripts/download.nix b/modules/scripts/download.nix index 33ad048..876c41f 100644 --- a/modules/scripts/download.nix +++ b/modules/scripts/download.nix @@ -28,27 +28,11 @@ download; in { - home-manager.users.jawz.programs.${config.my.shell.type} = { - shellAliases = inputs.self.lib.mergeAliases inputs.self.lib.commonAliases { - dl = "${wrappedDownload}/bin/download -u jawz -i"; - comic = ''dl "$(cat "$LC" | fzf --multi --exact -i)"''; - gallery = ''dl "$(cat "$LW" | fzf --multi --exact -i)"''; - }; - } - // - inputs.self.lib.shellConditional config.my.shell.type - '' - list_root=$XDG_CONFIG_HOME/jawz/lists/jawz - export LW=$list_root/watch.txt - export LI=$list_root/instant.txt - export LC=$list_root/comic.txt - '' - '' - list_root=$XDG_CONFIG_HOME/jawz/lists/jawz - export LW=$list_root/watch.txt - export LI=$list_root/instant.txt - export LC=$list_root/comic.txt - ''; + home-manager.users.jawz.programs.${config.my.shell.type}.shellAliases = + inputs.self.lib.mergeAliases inputs.self.lib.commonAliases + { + dl = "${wrappedDownload}/bin/download -u jawz -i"; + }; systemd.user = { services = let