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

14 lines
330 B
Diff
Raw Normal View History

diff --git a/libinput-gestures b/libinput-gestures
index 78c7c28..da04007 100755
--- a/libinput-gestures
+++ b/libinput-gestures
@@ -27,7 +27,7 @@ except ImportError:
session_locked = False
-PROGPATH = Path(sys.argv[0])
+PROGPATH = Path("libinput-gestures")
PROGNAME = PROGPATH.stem
# Conf file containing gesture commands.