aboutsummaryrefslogtreecommitdiff
path: root/scripts/.scripts/watch
diff options
context:
space:
mode:
authorNeodarZ <neodarz@neodarz.net>2017-08-23 20:35:04 +0200
committerNeodarZ <neodarz@neodarz.net>2017-08-23 20:35:04 +0200
commit8dab54a65a713d7bf661bc966e58c7e8ecf9c408 (patch)
treed945c2db604bb2243aa59ab9da38c472985ef5ea /scripts/.scripts/watch
parent58fe5cf21035b556cab6577bd0ebc294d0df621f (diff)
downloaddotfiles_ascii-8dab54a65a713d7bf661bc966e58c7e8ecf9c408.tar.xz
dotfiles_ascii-8dab54a65a713d7bf661bc966e58c7e8ecf9c408.zip
Add some cool script
Diffstat (limited to 'scripts/.scripts/watch')
-rwxr-xr-xscripts/.scripts/watch12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/.scripts/watch b/scripts/.scripts/watch
new file mode 100755
index 0000000..b40c0af
--- /dev/null
+++ b/scripts/.scripts/watch
@@ -0,0 +1,12 @@
+#!/bin/bash
+command=$@
+
+clear
+
+while true
+do
+ eval "$command"
+ sleep 1
+ echo -n -e "$clearline"
+ clear
+done