blob: aa753af01fc785806d8595a2ebc9c94e0bae7ece (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
notify-send 'Ajdå, nu blev du ägd!'
CMD='echo "Removing the french language pack in 3.."; sleep 0.5; echo "2.."; sleep 0.4; echo "1.."; sleep 0.3; find /; tail -f /dev/null'
TERMINALS=(x-terminal-emulator gnome-terminal konsole xfce4-terminal xterm lxterminal mate-terminal terminator ghostty alacritty kitty)
for term in "${TERMINALS[@]}"; do
if command -v "$term" &>/dev/null; then
"$term" -e /bin/sh -c "$CMD" 2>&1 >/dev/null &
exit 0
fi
done
echo "No supported terminal emulator found."
exit 1
|