summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/misc/quick-term.sh5
-rwxr-xr-xscripts/misc/tmuterm.sh3
-rwxr-xr-xsetup.sh4
3 files changed, 11 insertions, 1 deletions
diff --git a/scripts/misc/quick-term.sh b/scripts/misc/quick-term.sh
new file mode 100755
index 0000000..3d5ec48
--- /dev/null
+++ b/scripts/misc/quick-term.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cmd=$(dmenu </dev/null)
+
+exec st -g 80x30 -i sh -c "$cmd | env LESS=XR less"
diff --git a/scripts/misc/tmuterm.sh b/scripts/misc/tmuterm.sh
new file mode 100755
index 0000000..1823129
--- /dev/null
+++ b/scripts/misc/tmuterm.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec tabbed -c st -w
diff --git a/setup.sh b/setup.sh
index 0f5c806..288f2eb 100755
--- a/setup.sh
+++ b/setup.sh
@@ -44,7 +44,9 @@ if confirm "Check and install symlinks?"; then
ln -s ${here}scripts/misc/lk.sh ${there}.local/bin/l
ln -s ${here}scripts/misc/cb.sh ${there}.local/bin/cb
ln -s ${here}scripts/misc/pass-menu.sh ${there}.local/bin/pass-menu
+ ln -s ${here}scripts/misc/tmuterm.sh ${there}.local/bin/tmuterm
+ ln -s ${here}scripts/misc/quick-term.sh ${there}.local/bin/quick-term
ln -s ${here}scripts/misc/battery.sh ${there}.local/bin/tmubattery
fi
-echo "All set up, remember to source ~/.profile and symlink tmubrowse and tmuterm."
+echo "All set up, remember to source ~/.profile and symlink tmubrowse."