mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 12:32:37 +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/--}")
|
args=("${@//-e/--}")
|
||||||
|
|
||||||
# Dolphin integration requires --new-window to function properly
|
# Dolphin integration requires --new-window to function properly
|
||||||
unshift() { local -n ary=$1; shift; ary=("$@" "${ary[@]}"); }
|
|
||||||
if [[ ! "${args[@]}" =~ "--" && ! "${args[@]}" =~ "-h" && ! "${args[@]}" =~ "-x" ]]; then
|
if [[ ! "${args[@]}" =~ "--" && ! "${args[@]}" =~ "-h" && ! "${args[@]}" =~ "-x" ]]; then
|
||||||
unshift args "--new-window"
|
/usr/bin/prompt --new-window "${args[@]}"
|
||||||
|
else
|
||||||
|
/usr/bin/prompt "${args[@]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/usr/bin/prompt "${args[@]}"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user