summaryrefslogtreecommitdiff
path: root/.zsh_functions/pause_stardew
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2021-10-22 22:42:16 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2021-10-22 22:42:16 +0200
commit84d6383e7e10df0b7e3e5dfc839fe7c68657d133 (patch)
treefbc6f0f9df74c7c50f31b4906410f5b6ad38b8bb /.zsh_functions/pause_stardew
parent97e0461b3938abc7cf0cff770a87c1f0c90ec507 (diff)
autoload functions part 2
Diffstat (limited to '.zsh_functions/pause_stardew')
-rw-r--r--.zsh_functions/pause_stardew7
1 files changed, 7 insertions, 0 deletions
diff --git a/.zsh_functions/pause_stardew b/.zsh_functions/pause_stardew
new file mode 100644
index 0000000..3604dd0
--- /dev/null
+++ b/.zsh_functions/pause_stardew
@@ -0,0 +1,7 @@
+ while read bar
+ do
+ xdotool \
+ search --class 'StardewValley' \
+ windowactivate --sync \
+ type --delay 100 t/pause
+ done