summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-06-09 03:53:40 -0400
committerJune McEnroe <june@causal.agency>2013-06-09 03:53:40 -0400
commit8da5ef83888da8a55881e10662cca01c84d93d0c (patch)
tree548dab3a3fa91dc11a514e1880b2186b6d1ce297
parentAdd game wrapper to kill/restart unclutter (diff)
downloadsrc-8da5ef83888da8a55881e10662cca01c84d93d0c.tar.gz
src-8da5ef83888da8a55881e10662cca01c84d93d0c.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 7f5b0348..36a54e67 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 {