Compare commits
2 Commits
9c900c919e
...
014327fcfe
Author | SHA1 | Date |
---|---|---|
Bauke | 014327fcfe | |
Bauke | 148bb466de |
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# Automatically type "r" in the Deep Rock Galactic chat when it's running and
|
||||
# the currently active window.
|
||||
|
||||
drg_pid=$(xdotool search --name 'Deep Rock Galactic' getwindowpid)
|
||||
active_window_pid=$(xdotool getactivewindow getwindowpid)
|
||||
|
||||
if [[ $drg_pid = $active_window_pid ]]; then
|
||||
xdotool key --delay 50 Enter r Enter
|
||||
fi
|
|
@ -14,7 +14,7 @@ async function main(): Promise<void> {
|
|||
.option("--print <print:string>", "Print data from the current song.")
|
||||
.option(
|
||||
"--volume <volume:number>",
|
||||
"Change the volume by a relative amount",
|
||||
"Change the volume by a relative amount.",
|
||||
)
|
||||
.parse(Deno.args);
|
||||
|
||||
|
|
Loading…
Reference in New Issue