Skip to content

Instantly share code, notes, and snippets.

@Sebiann
Forked from Stewmath/.xbindkeysrc
Last active December 31, 2020 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sebiann/6faa256a43222c3c5d66e08ca4d3ff61 to your computer and use it in GitHub Desktop.
Save Sebiann/6faa256a43222c3c5d66e08ca4d3ff61 to your computer and use it in GitHub Desktop.
Livesplit global hotkeys workaround
# Livesplit hotkeys
#
"livesplithk Page_Up"
Page_Up
"livesplithk Page_Down"
Page_Down
"livesplithk Insert"
Insert
"livesplithk Delete"
Delete

livesplithk and livesplitandbind put in /usr/bin/ with chmod +x

#!/bin/bash
cd PATH_TO_LIVESPLIT
xbindkeys -n &
pid=$!
wine LiveSplit.exe
kill $pid
#!/bin/bash
xdotool key --window $( xdotool search --limit 1 --all --pid $( pgrep LiveSplit ) --name LiveSplit ) "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment