summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2013-06-08 17:28:49 -0400
committerJune McEnroe <programble@gmail.com>2013-06-08 17:28:49 -0400
commit44a519158b40d697a0ffb73a5829163760e87e74 (patch)
treed10213b0f8086e74a65074e4c645052d8f45be49
parentAdd git config (diff)
downloadsrc-44a519158b40d697a0ffb73a5829163760e87e74.tar.gz
src-44a519158b40d697a0ffb73a5829163760e87e74.zip
Add game wrapper to kill/restart unclutter
-rw-r--r--.zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 177a84d0..5bb13fba 100644
--- a/.zshrc
+++ b/.zshrc
@@ -71,6 +71,12 @@ export PATH=$PATH:~/bin
 
 # Functions and aliases
 
+function game {
+  killall unclutter
+  $@
+  unclutter -idle 3 -noevents & disown
+}
+
 function pacman {
   case $1 in
     -S | -S[^si]* | -R* | -U*)