summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2013-06-09 03:53:40 -0400
committerJune McEnroe <programble@gmail.com>2013-06-09 03:53:40 -0400
commitecd82835924dab5128eaf4f18f5a99aed9eafac0 (patch)
treefdb06b47351528beb0b00120675841fa9d6f080b
parentAdd game wrapper to kill/restart unclutter (diff)
downloadsrc-ecd82835924dab5128eaf4f18f5a99aed9eafac0.tar.gz
src-ecd82835924dab5128eaf4f18f5a99aed9eafac0.zip
Run games in separate X server
-rw-r--r--.zshrc4
1 files changed, 1 insertions, 3 deletions
diff --git a/.zshrc b/.zshrc
index 5bb13fba..ac7a5ebe 100644
--- a/.zshrc
+++ b/.zshrc
@@ -72,9 +72,7 @@ export PATH=$PATH:~/bin
 # Functions and aliases
 
 function game {
-  killall unclutter
-  $@
-  unclutter -idle 3 -noevents & disown
+  xinit =$1 ${@:2} -- :1 vt6
 }
 
 function pacman {