Merge pull request #412 from m000/patch-1

temporary fix for using kinto with Synergy
This commit is contained in:
Ben Reaves
2021-03-06 19:44:12 -06:00
committed by GitHub

View File

@@ -44,6 +44,12 @@ define_multipurpose_modmap(
{ # Placeholder
})
# Fix for avoiding modmapping when using Synergy keyboard/mouse sharing.
# Synergy doesn't set a wm_class, so this may cause issues with other
# applications that also don't set the wm_class.
# Enable only if you use Synergy.
# define_conditional_modmap(lambda wm_class: wm_class == '', {})
# [Global modemap] Change modifier keys as in xmodmap
define_conditional_modmap(lambda wm_class: wm_class.casefold() not in terminals,{