Unverified Commit b7a804e9 authored by David Beniamine's avatar David Beniamine
Browse files

Use handymenu conf from /etc/

parent 5d669418
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -27,8 +27,7 @@ def parse_desktop(desktop):


def add_to_handymenu(user, cmd, category):
    # TODO : change path
    path = '/home/{}/.config/handymenu/conf.default.yaml'.format(user)
    path = '/etc/handymenu/handymenu-{}-default.yaml'.format(user)
    subprocess.run(['sed', '-i', '-e', 's/!!python\/str//g', path])
    print(path)
    with open(path) as stream: