Warning, file /plasma/kwin/kconf_update/kwin-5.23-remove-cover-switch.py was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #!/usr/bin/env python3 0002 0003 import fileinput 0004 0005 for line in fileinput.input(): 0006 if not line.startswith("LayoutName="): 0007 continue 0008 value = line[len("LayoutName="):].strip() 0009 if value != "coverswitch": 0010 continue 0011 print("# DELETE LayoutName") # will use the default layout