aboutsummaryrefslogtreecommitdiff
path: root/.scripts/term
diff options
context:
space:
mode:
authorMarvin Borner2022-07-31 21:24:56 +0200
committerMarvin Borner2022-07-31 21:24:56 +0200
commit600de714ba13c1ccd54357554898db909de5af81 (patch)
tree95f416ad889878de9b782533c167b585e42e8262 /.scripts/term
parenta56b6a121b31b82dcf7279e6eea60bbca1852fc5 (diff)
Update
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}" $@