use exec in run script and changed config path

This commit is contained in:
Noah Swerhun 2023-04-02 13:58:33 -05:00
parent f0ad4aff7d
commit 74b8ebf13e
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ from Module import Module
from parse_config_file import get_bar_config_and_module_config_list
def main():
bar_config, module_config_list = get_bar_config_and_module_config_list("/home/noah/src/easyconf-lemonbar/data/testing_config.yml")
bar_config, module_config_list = get_bar_config_and_module_config_list("./data/testing_config.yml")
padding = bar_config["padding"]
seperator = bar_config["seperator"]
margin = bar_config["margin"]

2
run.sh Normal file → Executable file
View file

@ -2,4 +2,4 @@
lemonbar="lemonbar $(python ./easyconf-lemonbar/lemonbar_command.py)"
python ./easyconf-lemonbar/main.py | sh -c "${lemonbar}"
exec python './easyconf-lemonbar/main.py' | sh -c "${lemonbar}"