summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}
+