kde-shortcuts
Command-line tool to list and create kde-shortcuts
This is unreviewed AI-generated code.
Motivation
I don't like GUIs you have to continually search and click. I want to use KDE because I like being able to be lazy when I want to and sometimes tiling window managers like i3 are too much work.
I am therefore creating a command-line tool to make it easier to list, search, delete and create new shortcuts for kde.
Installation
pipx install kde-shortcuts
Alternatives and prior work
Many tiling window managers make it very easy to define keys (such as i3wm or awesome) in their config files. Emacs allows you to query keybindings programmatically.
Usage
List shortcuts: kde-shortcuts list
List shortcuts .desktop files: kde-shortcuts list --desktop
Add a shortcut: kde-shortcuts add
List shortcuts: kde-shortcuts list
List .desktop shortcuts: kde-shortcuts list --desktop
Search shortcuts: kde-shortcuts list --search maximize
Filter by group: kde-shortcuts list --group kwin
Include unbound shortcuts: kde-shortcuts list --all
List groups: kde-shortcuts groups
Show a shortcut: kde-shortcuts show -g kwin -k "Window Maximize"
Grab a shortcut: kde-shortcuts grab
Add a shortcut: kde-shortcuts add -c "flameshot gui" -d "Screenshot"
Add with specific binding: kde-shortcuts add -c "raise-claude.sh" -d "Raise Claude" -s "Meta+C"
Change a shortcut: kde-shortcuts set -k "previous activity" -s "Meta+Shift+A"
Change with grabber: kde-shortcuts set -k "Window Maximize"
Remove a shortcut: kde-shortcuts remove -g kwin -k "Window Maximize"
About
I am @readwithai. I make tools for reading with and without AI and agency as well as a stream of day to day tools.
If you like tools like this, you might like to follow me on github
Metadata
Release files for kde-shortcuts 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kde_shortcuts-0.1.0.tar.gz | 7.5 kB | Without provenance | Details for kde_shortcuts-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kde_shortcuts-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for kde_shortcuts-0.1.0-py3-none-any.whl |
Total release size: 15.2 kB
Release files / kde_shortcuts-0.1.0.tar.gz
| Download URL | kde_shortcuts-0.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33f92300ad6c7289f6bd2e17d74b66b16602db5c346fc6f3497931b5e29e92c1
|
|
BLAKE2b-256 checksum How to use checksums |
4c4e18997231bdbdb07bf266584d04ca846d1149be9aa56d98a2766e874f2c17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / kde_shortcuts-0.1.0-py3-none-any.whl
| Download URL | kde_shortcuts-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0dcab8526d3f3b6fdd72939571a9f54968f8ba1c60f84e34d9dc6db95edcd47
|
|
BLAKE2b-256 checksum How to use checksums |
e6472379dfe7a2238c59ebf67c7abdba9d1d52a2f3780c8cefeeeee23eb064d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for kde-shortcuts 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.