Skip to content
Snippets Groups Projects
Commit 3f65d66b authored by nimrod's avatar nimrod
Browse files

Revert 9bbcdaae

Back to ElementaryOS, Flatpak is older there.
parent f41e9372
No related branches found
No related tags found
No related merge requests found
...@@ -219,6 +219,21 @@ match_ssl_pair () { ...@@ -219,6 +219,21 @@ match_ssl_pair () {
return "$exitcode" return "$exitcode"
} }
flatpak-kill () {
if [ "$#" -lt 1 ]
then
echo "You must specify application name." >> /dev/stderr
false
else
name="$1"
shift
for pid in $(flatpak ps --columns=application,pid | awk "tolower(\$2) ~ /$name/ {print \$3}")
do
pkill "$@" "$pid"
done
fi
}
__prompt () { __prompt () {
local exitstatus="$?" local exitstatus="$?"
local runduration endtime local runduration endtime
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment