aboutsummaryrefslogtreecommitdiff
path: root/.scripts/term
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/term')
-rwxr-xr-x.scripts/term10
1 files changed, 10 insertions, 0 deletions
diff --git a/.scripts/term b/.scripts/term
new file mode 100755
index 0000000..184d341
--- /dev/null
+++ b/.scripts/term
@@ -0,0 +1,10 @@
+#!/bin/bash
+# current terminal
+
+if [[ "$*" == *"-t"* ]]; then
+ EXTRA="--working-directory=$HOME" # idk
+else
+ EXTRA="-tMelvins terminal"
+fi
+
+alacritty msg create-window "${EXTRA}" $@