use exec in run script and changed config path
This commit is contained in:
parent
f0ad4aff7d
commit
74b8ebf13e
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ from Module import Module
|
||||||
from parse_config_file import get_bar_config_and_module_config_list
|
from parse_config_file import get_bar_config_and_module_config_list
|
||||||
|
|
||||||
def main():
|
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"]
|
padding = bar_config["padding"]
|
||||||
seperator = bar_config["seperator"]
|
seperator = bar_config["seperator"]
|
||||||
margin = bar_config["margin"]
|
margin = bar_config["margin"]
|
||||||
|
|
2
run.sh
Normal file → Executable file
2
run.sh
Normal file → Executable file
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
lemonbar="lemonbar $(python ./easyconf-lemonbar/lemonbar_command.py)"
|
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}"
|
||||||
|
|
Loading…
Reference in a new issue