mytools/scrnl
2024-11-11 02:31:05 +01:00

22 lines
426 B
Python
Executable file

#!/usr/bin/env python3
# docstring=wraps kanshictl and adds features
import os
import os.path as path
HOME = os.environ["HOME"]
CFG = {
"config_path": path.join(HOME, ".config/kanshi/config")
}
def extract_layouts(config_path=CFG["config_path"]):
with open(config_path, "r") as file_fd:
for line in file_fd:
print(line)
def main():
extract_layouts()
if __name__ == "__main__":
main()