Python wrapper around launcherctl.
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
launcherctl-1.0.1.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file launcherctl-1.0.1.tar.gz
.
File metadata
- Download URL: launcherctl-1.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d4db734ee42fa94ebfed8ae98a33fcd31ea7fcd28923511f84aaccb5a659f74 |
|
MD5 | b80ef32a2ab0c53c18c59b93a56a1de0 |
|
BLAKE2b-256 | 8d5c24bcbde8ffa23859ef2a252f6b3fbb1bef509f2a9c089cc44851a18eed9e |
File details
Details for the file launcherctl-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: launcherctl-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f6146aa8e047d7d2eeceacbb69e7a3295b341719eaf77244b1977d711e440a2 |
|
MD5 | cb76c30f7c52d73b1ce8e91cf344bdcb |
|
BLAKE2b-256 | 335d9cb80b7d501c44a26a0843ca233454563e89f8c8d6e8e746737aafc4a5fe |