Pty layouts skipped in keyboard layout cycling.
This commit is contained in:
parent
8c471adfa4
commit
6f4784daed
@ -33,7 +33,7 @@ class command():
|
|||||||
|
|
||||||
if os.path.exists(keyboardPath):
|
if os.path.exists(keyboardPath):
|
||||||
for file in os.listdir(keyboardPath):
|
for file in os.listdir(keyboardPath):
|
||||||
if file.endswith('.conf') and not file.startswith('__'):
|
if file.endswith('.conf') and not file.startswith('__') and not file.lower().startswith('pty'):
|
||||||
layout_name = file.replace('.conf', '')
|
layout_name = file.replace('.conf', '')
|
||||||
if layout_name not in layouts:
|
if layout_name not in layouts:
|
||||||
layouts.append(layout_name)
|
layouts.append(layout_name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user