diff options
Diffstat (limited to '')
-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" |