From 06f95c9d11ffb18877cf261623ceb7cdff235907 Mon Sep 17 00:00:00 2001 From: gbit86 Date: Mon, 29 Jul 2019 16:53:58 -0500 Subject: [PATCH] - Added rules statement for resetting the setxkbmap at the end --- test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index f04cdec..6737960 100755 --- a/test.py +++ b/test.py @@ -311,5 +311,6 @@ if uitype == 'term': subprocess.check_output('setxkbmap -option', shell=True).decode('utf-8') print ("Testing mac keyboard - terminal - Kinto keymapping...") mac_keys_terminal() - -subprocess.run('setxkbmap -option', shell=True) \ No newline at end of file + +if apply_rules == '1': + subprocess.run('setxkbmap -option', shell=True) \ No newline at end of file