def install(*args, **kwargs): u.git_clone(repo_url, G["SOURCES_DIR"]) # run install.sh u.bash_action(action="install", file=__file__, name=component_name, stderr_level=logging.DEBUG)
def install(*args, **kwargs): u.git_clone(repo_url, G["SOURCES_DIR"]) # run install.sh u.bash_action(action="install", file=__file__, name=component_name, interactive=True)
def install(*args, **kwargs): u.git_clone(repo_url, G["SOURCES_DIR"]) # run install.sh u.bash_action(action="install", file=__file__, name=component_name, stderr_level=logging.DEBUG) # Start and stop latte once after installing in order to generate the default configs. start_latte() time.sleep(2) stop_latte() # run configure.sh u.bash_action(action="configure", file=__file__, name=component_name) # remove any default panels we find automatically script = u.get_template("removeDefaultPanels.js") u.eval_plasma_script(script) # Edit latte config files u.kwriteconfig({ "file": "~/.config/lattedockrc", "group": "UniversalSettings", "key": "currentLayout", "value": "macifyLinux", }) u.kwriteconfig({ "file": "~/.config/lattedockrc", "group": "UniversalSettings", "key": "lastNonAssignedLayout", "value": "macifyLinux", }) start_latte()
def install(*args, **kwargs): u.git_clone(repo_url, G["SOURCES_DIR"]) # run install.sh u.bash_action(action="install", file=__file__, name=component_name) # icons u.kwriteconfig({ "file": "~/.config/kdeglobals", "group": "Icons", "key": "Theme", "value": "Os-Catalina-icons", })
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()))
def install(*args, **kwargs): # run install.sh u.bash_action(action="install", file=__file__, name=component_name) # change desktop wallapaper wallpaper = G["WALLPAPERS_DIR"] / Path(G["DEFAULT_WALLPAPER"]) u.change_desktop_wallpaper(wallpaper) # change lockscreen wallpaper u.kwriteconfig({ "key": "Image", "value": "file://{}".format(wallpaper), "group": ["Greeter", "Wallpaper", "org.kde.image", "General"], "file": "~/.config/kscreenlockerrc", })
def remove(*args, **kwargs): # run remove.sh u.bash_action(action="remove", file=__file__, name=component_name)
def install(*args, **kwargs): u.git_clone("https://github.com/MarianArlt/kde-plasma-chili.git", G["SOURCES_DIR"]) # run install.sh u.bash_action(action="install", file=__file__, name=component_name) configure()