summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jaeger <git-commit@henk.geekmail.org>2019-09-18 09:32:26 +0200
committerHendrik Jaeger <git-commit@henk.geekmail.org>2019-09-18 09:32:26 +0200
commit50e92e74c461b637f826e5a68db4dd366f69a0d7 (patch)
tree50233fcbeb3746b45a531b4f4827f34ac08ff620
parent625e628262ea31b8ce705745ae2d4e998508812e (diff)
Add function stardewpause
-rw-r--r--.zsh_functions11
1 files changed, 11 insertions, 0 deletions
diff --git a/.zsh_functions b/.zsh_functions
index 1e456e6..ae295da 100644
--- a/.zsh_functions
+++ b/.zsh_functions
@@ -77,3 +77,14 @@ function with () {
vared str && eval $str
done
}
+
+function stardewpause () {
+ while read bar
+ do
+ xdotool \
+ search --class 'StardewValley' \
+ windowactivate --sync \
+ type --delay 100 t/pause
+ done
+}
+