aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/scripts/watch
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-09-05 07:48:16 +0200
committerneodarz <neodarz@neodarz.net>2019-09-05 07:48:16 +0200
commit9b19480228d8421c3987a634a602012c953a993e (patch)
tree4bce21766502f3a72bb2002daeea2a406c2a3bda /dotfiles/scripts/watch
parent40dddc15f4a323d3c84c84be7bb2c5ca94d3c07c (diff)
downloaddotfiles_dotdrop-9b19480228d8421c3987a634a602012c953a993e.tar.xz
dotfiles_dotdrop-9b19480228d8421c3987a634a602012c953a993e.zip
Add some scripts
Diffstat (limited to 'dotfiles/scripts/watch')
-rwxr-xr-xdotfiles/scripts/watch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dotfiles/scripts/watch b/dotfiles/scripts/watch
new file mode 100755
index 0000000..b40c0af
--- /dev/null
+++ b/dotfiles/scripts/watch
@@ -0,0 +1,12 @@
+#!/bin/bash
+command=$@
+
+clear
+
+while true
+do
+ eval "$command"
+ sleep 1
+ echo -n -e "$clearline"
+ clear
+done