From c356b0dca886c8899b54ed5ffe5fae4c8ae2417d Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Wed, 10 Jan 2024 08:43:40 -0800 Subject: [PATCH] chore(kde): Simplify dolphin shim since no other changes will be needed --- system_files/desktop/kinoite/usr/bin/kde-prompt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/system_files/desktop/kinoite/usr/bin/kde-prompt b/system_files/desktop/kinoite/usr/bin/kde-prompt index b7b8e8a8..b5555ca7 100755 --- a/system_files/desktop/kinoite/usr/bin/kde-prompt +++ b/system_files/desktop/kinoite/usr/bin/kde-prompt @@ -4,9 +4,8 @@ args=("${@//-e/--}") # Dolphin integration requires --new-window to function properly -unshift() { local -n ary=$1; shift; ary=("$@" "${ary[@]}"); } if [[ ! "${args[@]}" =~ "--" && ! "${args[@]}" =~ "-h" && ! "${args[@]}" =~ "-x" ]]; then - unshift args "--new-window" + /usr/bin/prompt --new-window "${args[@]}" +else + /usr/bin/prompt "${args[@]}" fi - -/usr/bin/prompt "${args[@]}"