summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-04-20 12:56:24 +0300
committerPaul Buetow <paul@buetow.org>2025-04-20 12:56:24 +0300
commitd659ff23f6a8238d4565fc98d70f62ef775a914b (patch)
tree8e09fd0a552c1dede5ee82259643f63d47011eb9
parent00f54efd1b3c57133399876547a03829e311d5fc (diff)
add games
-rw-r--r--dotfiles/fish/conf.d/games.fish15
1 files changed, 15 insertions, 0 deletions
diff --git a/dotfiles/fish/conf.d/games.fish b/dotfiles/fish/conf.d/games.fish
new file mode 100644
index 0000000..291a798
--- /dev/null
+++ b/dotfiles/fish/conf.d/games.fish
@@ -0,0 +1,15 @@
+function games::colorscript
+ if test -e ~/git/shell-color-scripts
+ cd ~/git/shell-color-scripts
+ set -x DEV 1
+ ./colorscript.sh --random
+ cd -
+ else
+ echo 'No colorscripts installed. Go to:'
+ echo ' https://gitlab.com/dwt1/shell-color-scripts'
+ end
+end
+
+if not test -f ~/.colorscript.disable
+ games::colorscript
+end