diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-04 13:12:12 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-04 13:12:12 +0200 |
commit | 8c4e702a269317609fb1f6609045e7e99e611f65 (patch) | |
tree | 1ae0b49611a05a24d7a5be7b707eee565a5c38b7 /modules/home.legacy/conf/xdg/url_handler.sh | |
parent | refactor(modules/timewarrior): Migrate to by-name (diff) | |
download | nixos-config-8c4e702a269317609fb1f6609045e7e99e611f65.zip |
refactor(treewide): neorg -> tskm
Diffstat (limited to 'modules/home.legacy/conf/xdg/url_handler.sh')
-rwxr-xr-x | modules/home.legacy/conf/xdg/url_handler.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/home.legacy/conf/xdg/url_handler.sh b/modules/home.legacy/conf/xdg/url_handler.sh index 95eedffb..f15df384 100755 --- a/modules/home.legacy/conf/xdg/url_handler.sh +++ b/modules/home.legacy/conf/xdg/url_handler.sh @@ -1,9 +1,9 @@ -#!/usr/bin/env dash +#!/usr/bin/env sh -# shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH - -project="$(echo "%ALL_PROJECTS_PIPE|nvim|zathura|" | rofi -sep "|" -dmenu)" +project="$({ + tskm projects list + echo nvim zathura +} | rofi -sep "$(printf "\n")" -dmenu)" if [ "$project" = "nvim" ]; then "$TERMINAL" -e nvim "$1" |