myhotkeys
Version, currently 0.2.77 versions
github.com/mipmip/gnome-hotkeys.cr
WIP gnome hotkeys app, now implemented in crystal
Installation
# Add this to your shard.yml
dependencies:
myhotkeys:
github: mipmip/gnome-hotkeys.cr
version: ~> 0.2.7Then run:
shards installshard.yml
- Crystal
1.4.1- License
- MIT
- Author
- Pim Snel <
- Target
myhotkeysfrom src/myhotkeys.cr
Dependencies
Runtime Dependencies
- gtk4*github: hugopl/gtk4.cr, branch: main
- libadwaita*github: GeopJr/libadwaita.cr, branch: main
README
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
-
[x] compile UI at runtime
-
[x] input file argument
-
[x] solution for displaying command words (custom widget)
-
[x] forward slash (slash)
-
[x] backtick (grave)
-
[x] play in builder to find all possibilities
-
[x] change YAML to JSON class
-
[x] setup cli options
-
[x] nix derivation
-
[x] default shortcut_file
-
[x] default config file
-
[x] name: myhotkeys
-
[x] libadwaita
-
[x] icon wip
-
[ ] dark mode
-
[ ] improve alignment commands
-
[ ] add gnome extensions and desktop shortcuts
- [x] 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
- Fork it (https://github.com/mipmip/gnome-hotkeys.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.7- Tagged
- Oct 3, 2024
- Commit
58a1c8774105- Crystal
1.4.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/mipmip/gnome-hotkeys.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 7