summary refs log tree commit diff
path: root/.zshrc
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-06-08 17:28:49 -0400
committerJune McEnroe <june@causal.agency>2013-06-08 17:28:49 -0400
commit6b27568eac9db090d4aeb0b7fd77bc3110562ccd (patch)
tree92eedc02f5511baf2d18b29c8b1d6deb11d59730 /.zshrc
parentAdd git config (diff)
downloadsrc-6b27568eac9db090d4aeb0b7fd77bc3110562ccd.tar.gz
src-6b27568eac9db090d4aeb0b7fd77bc3110562ccd.zip
Add game wrapper to kill/restart unclutter
Diffstat (limited to '')
-rw-r--r--.zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 0f0c7126..7f5b0348 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*)