Skip to main content

Command-line tool to list, search, add and remove KDE keyboard shortcuts

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kde_shortcuts-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kde_shortcuts-0.1.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file kde_shortcuts-0.1.0.tar.gz.

File metadata

  • Download URL: kde_shortcuts-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for kde_shortcuts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 33f92300ad6c7289f6bd2e17d74b66b16602db5c346fc6f3497931b5e29e92c1
MD5 ee5dcf71e9884483edcb2f10f6b3b986
BLAKE2b-256 4c4e18997231bdbdb07bf266584d04ca846d1149be9aa56d98a2766e874f2c17

See more details on using hashes here.

File details

Details for the file kde_shortcuts-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kde_shortcuts-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for kde_shortcuts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0dcab8526d3f3b6fdd72939571a9f54968f8ba1c60f84e34d9dc6db95edcd47
MD5 c9bd901edc65e94a8073f35444ceac47
BLAKE2b-256 e6472379dfe7a2238c59ebf67c7abdba9d1d52a2f3780c8cefeeeee23eb064d5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page