Skip to content

Eeems-Org/python-launcherctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

launcherctl on PyPI

Python wrapper around launcherctl

Installation

pip install launcherctl

Usage

import launcherctl

if (
    launcherctl.launchers.current.name != "oxide"
    and "oxide" in launcherctl.launchers
):
    launcherctl.launchers.switch("oxide", start=True)
    # or
    launcherctl.launchers["oxide"].enable(start=True)

if (
    "calculator" in launcherctl.apps
    and "calculator" not in launcherctl.apps.running.keys()
):
    launcherctl.apps["calculator"].start()

About

Python wrapper around launcherctl

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors