@ -1,11 +1,9 @@
import subprocess
from multipledispatch import dispatch
from pathlib import Path
ENCODING = "utf-8"
@dispatch()
def get_list_short():
"""Returns string output of the `xinput --list --short` command encoded as
UTF-8"""
@ -15,7 +13,6 @@ def get_list_short():
return completed.stdout.decode(ENCODING)
@dispatch(int)
def get_list_short_with(id):
"""Short List of the id