Esempio n. 1
0
def install(*args, **kwargs):
    u.git_clone(repo_url, G["SOURCES_DIR"], flags="--branch MacifyLinux --recursive")
    # run install.sh
    u.bash_action(
        action="install", file=__file__, name=component_name, stderr_level=logging.DEBUG
    )

    # run configure.sh
    u.bash_action(action="configure", file=__file__, name=component_name)

    # start albert
    albert_desktop_file = Path("/usr/local/share/applications/albert.desktop")
    u.run_shell_bg("nohup /bin/sh {}".format(albert_desktop_file.resolve()))
Esempio n. 2
0
def start_latte():
    logger.debug("Starting Latte Dock.")
    u.run_shell_bg("gtk-launch org.kde.latte-dock.desktop")
Esempio n. 3
0
def stop_latte():
    logger.debug("Stopping Latte Dock.")
    u.run_shell_bg("killall -9 latte-dock")