Skip to content

mipmip/gnome-hotkeys.cr

Repository files navigation

My Hotkeys

A personal hotkeys cheatsheet sitting on your shoulder

NOTE WIP

This project is in active development. Everything can change.

Reading material

https://ultimate-gtk4-crystal-guide.geopjr.dev/en/first-app/ui-design.html

Develop

git clone https://github.com/mipmip/gnome-hotkeys.cr
cd gnome-hotkeys.cr
nix develop
shards
make

Usage

./bin/myhotkeys -c ./test.json

TODO v1.0

  • compile UI at runtime

  • input file argument

  • solution for displaying command words (custom widget)

  • forward slash (slash)

  • backtick (grave)

  • play in builder to find all possibilities

  • change YAML to JSON class

  • setup cli options

  • nix derivation

  • default shortcut_file

  • default config file

  • name: myhotkeys

  • libadwaita

  • icon wip

  • dark mode

  • improve alignment commands

  • add gnome extensions and desktop shortcuts

    • read settings from GIO
    • implement hide settings from conf or argument
  • subclass shortcutsshortcut.c

    • accel-size-group
    • title-size-group
    • new type: command
    • search match group titles for single shortcuts
  • documentation

  • add buttons to menubar

    • about
    • configure
  • control ordering

  • more sections...?

ROADMAP 2.0

  • current application aware
  • plugin system

Contributing

  1. Fork it (https://github.com/mipmip/gnome-hotkeys.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

WIP gnome hotkeys app, now implemented in crystal

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published