summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch')
-rw-r--r--pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch b/pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch
new file mode 100644
index 000000000000..b694fcabbd0d
--- /dev/null
+++ b/pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch
@@ -0,0 +1,13 @@
+diff --git a/libinput-gestures b/libinput-gestures
+index f337ba3..fe56d66 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.