nixpkgs/pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch
2022-03-14 22:28:46 +01:00

14 lines
330 B
Diff

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.