diff options
author | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2019-09-18 09:32:26 +0200 |
---|---|---|
committer | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2019-09-18 09:32:26 +0200 |
commit | 50e92e74c461b637f826e5a68db4dd366f69a0d7 (patch) | |
tree | 50233fcbeb3746b45a531b4f4827f34ac08ff620 | |
parent | 625e628262ea31b8ce705745ae2d4e998508812e (diff) |
Add function stardewpause
-rw-r--r-- | .zsh_functions | 11 |
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 +} + |