summaryrefslogtreecommitdiff
path: root/post-checkout
diff options
context:
space:
mode:
Diffstat (limited to 'post-checkout')
-rwxr-xr-xpost-checkout18
1 files changed, 18 insertions, 0 deletions
diff --git a/post-checkout b/post-checkout
new file mode 100755
index 0000000..aa753af
--- /dev/null
+++ b/post-checkout
@@ -0,0 +1,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
+