initial commit
This commit is contained in:
commit
b39b82463b
13 changed files with 214 additions and 0 deletions
22
scrnl
Executable file
22
scrnl
Executable 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()
|
Loading…
Add table
Add a link
Reference in a new issue