initial commit

This commit is contained in:
Ranomier 2024-11-11 02:31:05 +01:00
commit b39b82463b
13 changed files with 214 additions and 0 deletions

22
scrnl Executable file
View file

@ -0,0 +1,22 @@
#!/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()