Pty layouts skipped in keyboard layout cycling.
This commit is contained in:
1 parent
8c471adfa4
commit
6f4784daed
1 file changed
+1
-1
@@ -33,7 +33,7 @@ class command():
|
||||
|
||||
if os.path.exists(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', '')
|
||||
if layout_name not in layouts:
|
||||
layouts.append(layout_name)
|
||||
|
||||
Reference in new issue
Block a user