Fix appending user keybindings to help overlay

This commit is contained in:
Aleksey Samoilov 2024-02-25 19:23:25 +04:00
parent 5a6c730298
commit 9fed8eaf1c
2 changed files with 8 additions and 0 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
tileos-settings-sway (1.0.14~tileos) unstable; urgency=medium
* Fix appending user keybindings to help overlay
-- Aleksey Samoilov <samoilov.lex@gmail.com> Sun, 25 Feb 2024 19:22:45 +0400
tileos-settings-sway (1.0.13~tileos) unstable; urgency=medium
* Change wallpaper

View file

@ -2,6 +2,7 @@
import sys
import glob
import re
import os
from typing import Text
import json
@ -26,6 +27,7 @@ def readFile(filePath):
for line in allLines:
if re.search(r'^include\s+(.+?)$', line):
nextPath = re.findall(r'^include\s+(.+?)$', line)[0]
nextPath = os.path.expandvars(nextPath)
finalLines = finalLines + readFile(nextPath)
else:
finalLines = finalLines + [line]