depot/third_party/nixpkgs/pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch

14 lines
415 B
Diff
Raw Normal View History

diff --git a/libinput-gestures b/libinput-gestures
index 66479b6..aca94ac 100755
--- a/libinput-gestures
+++ b/libinput-gestures
@@ -6,7 +6,7 @@ from collections import OrderedDict
from pathlib import Path
from distutils.version import LooseVersion as Version
-PROG = Path(sys.argv[0]).stem
+PROG = "libinput-gestures"
# Conf file containing gesture commands.
# Search first for user file then system file.