aboutsummaryrefslogtreecommitdiff
path: root/scripts/.scripts/watch
diff options
context:
space:
mode:
authorNeodarZ <neodarz@neodarz.net>2017-04-07 20:51:56 +0200
committerNeodarZ <neodarz@neodarz.net>2017-04-07 20:51:56 +0200
commit2e144b6f0be18596a51028302b29c4837ab56590 (patch)
tree4acef47bd7d1ee723b7c1cd94faa2d157b0c50b5 /scripts/.scripts/watch
parent1361c93f4fc25f777dada92803190ade737e8224 (diff)
downloaddotfiles_ascii-2e144b6f0be18596a51028302b29c4837ab56590.tar.xz
dotfiles_ascii-2e144b6f0be18596a51028302b29c4837ab56590.zip
Add scripts for task management and a better watch command
Diffstat (limited to '')
-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