mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-17 19:10:33 +00:00
chore(kde): Simplify dolphin shim since no other changes will be needed
This commit is contained in:
parent
9529cf223f
commit
c356b0dca8
@ -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[@]}"
|
||||
|
Loading…
Reference in New Issue
Block a user