summary refs log tree commit diff
diff options
context:
space:
mode:
-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*)