4d2561a293
Implement sleep mode functionality for Cthulhu
...
Add application-specific sleep mode that disables speech and events while preserving the ability to toggle back to normal operation.
Features:
- Keybinding: Cthulhu+Ctrl+Alt+Shift+Q (matches Orca)
- Per-application scope (only affects focused app)
- Suppresses all speech, braille, and event processing
- Preserves sleep mode toggle keybinding for exit
- Status messages on enter/exit
Implementation:
- New sleepmode script module in src/cthulhu/scripts/sleepmode/
- Toggle handler in default.py using script manager
- Proper autotools integration with correct installation paths
- Build system fixes for module discovery
Files modified:
- src/cthulhu/common_keyboardmap.py: Add sleep mode keybinding
- src/cthulhu/scripts/default.py: Add toggleSleepMode handler
- src/cthulhu/scripts/sleepmode/: Complete sleep mode implementation
- CLAUDE.md: Documentation for build system and sleep mode
- Fix sleepmode/Makefile.am installation path
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-31 14:03:10 -04:00
613fc514fb
Merge branch 'testing' of ssh://git.stormux.org:1101/storm/cthulhu into testing
2025-07-31 04:07:10 -04:00
a71da1ad2a
Some work on the audio indentation plugin.
2025-07-31 04:07:01 -04:00
0c26025a81
Updates to build files.
2025-07-01 15:55:00 -04:00
0405200980
New plugin, updates to a few other things. Yes, I know that's not descriptive, but apparently I forgot to add a few things last time. lol
2025-07-01 13:56:18 -04:00
408fb85730
Updated clipboard plugin to work with the now fixed plugin system.
2025-06-05 14:05:23 -04:00
0f25245d3d
OMG it actually works! Just some finishing touches.
2025-06-05 13:55:30 -04:00
13f110ab34
Updated bindings code.
2025-06-05 13:50:36 -04:00
62f46c0eb7
Maybe getting closer.
2025-06-05 13:45:12 -04:00
e2364a154a
Another try to get keybindings working.
2025-06-05 13:40:44 -04:00
2090767794
Fixed error in event manager.
2025-06-05 13:34:23 -04:00
ea50d8b024
Fix error in script manager.
2025-06-05 13:31:11 -04:00
a1d90a7245
more work on keybindings.
2025-06-05 13:27:25 -04:00
2eb6d3c7dd
updated keybindings.py
2025-06-05 13:20:27 -04:00
0edbefac47
more debugging.
2025-06-05 13:11:47 -04:00
90aecf8055
Changes to the plugin manager.
2025-06-05 04:13:24 -04:00
48d99e8813
Improved debugging to help track down this bug.
2025-06-05 04:02:28 -04:00
314aa18a1b
Another another attempt to fix the plugin keybindings.
2025-06-05 03:42:02 -04:00
a21f1aa13b
another attempt to fix the keybinding problem for plugins.
2025-06-05 03:32:01 -04:00
5181944de0
Move timestamps to the end of the log message instead of the beginning. Makes debugging much less of a PITA.
2025-04-20 15:27:59 -04:00
0a8bb684ec
Fixed an error in a call to a cthulhu module.
2025-04-20 03:20:12 -04:00
d94ba1accb
Add optional parameter to _on_settings_changed()
2025-04-20 03:13:43 -04:00
399f449484
Fixed method call.
2025-04-20 03:07:37 -04:00
ecd122786f
Fixed an error with logging, for real this time.
2025-04-20 02:58:12 -04:00
01273618a7
Fixed an error with logging.
2025-04-20 02:50:32 -04:00
d8df2ed757
Another try at getting keybindings working.
2025-04-20 02:43:59 -04:00
c376b2489a
Getting closer to working bindings.
2025-04-20 02:30:04 -04:00
39dca0574a
Improve key detection in registerGestureByString
2025-04-19 15:39:43 -04:00
8b1f501fe7
fixed an error.
2025-04-19 14:54:32 -04:00
96335baf5d
Fixed indentation issues.
2025-04-19 14:48:38 -04:00
51984a6540
Hopefully got this keybinding thing once and for all... Fingers crossed.
2025-04-19 14:41:17 -04:00
3296e5d571
Fix broken method.
2025-04-19 14:15:30 -04:00
1e6f4b8913
fixed import error.
2025-04-19 14:06:48 -04:00
331b1c3ad5
More debugging efforts.
2025-04-19 14:01:20 -04:00
04b8592ed3
Indentation error was worse than I thought.
2025-04-18 14:53:52 -04:00
c64591a162
Fixed indentation error.
2025-04-18 14:45:33 -04:00
80212d616f
Added some logging to try and figure out what's going on.
2025-04-18 14:42:02 -04:00
9790a8d494
More attempts to fix keyboard.
2025-04-18 14:28:16 -04:00
ec90906052
Maybe finally solved the plugin keybinding issue...
2025-04-18 13:00:31 -04:00
f01374d15e
One more try before sleep.
2025-04-14 05:04:59 -04:00
0347b7feea
Another attempt at fixing plugin keyboard shortcuts.
2025-04-14 04:54:48 -04:00
0580dda131
A few documentation updates.
2025-04-11 13:17:26 -04:00
02be96aa69
Try to fix clipboard and simple plugins.
2025-04-04 18:04:58 -04:00
48575ab6cd
Removed the old plugin manager. It didn't work anyway and needs to be rewritten.
2025-04-04 17:28:31 -04:00
2c28021ed4
Removed the old plugin manager. It didn't work anyway and needs to be rewritten.
2025-04-04 17:27:30 -04:00
8a79725df8
Update clipboard plugin to new pluggy format.
2025-04-04 17:08:18 -04:00
1b4c4916e3
Hopefully fixed an error in simple plugin system.
2025-04-04 16:33:53 -04:00
35a83327ac
Convert simple plugin plugin to new plugin format. Hmm, gotta get in a couple more... plugin plugin plugin! lol
2025-04-04 16:25:28 -04:00
c712bea421
Attempt to fix keybindings not working from plugins.
2025-04-04 16:03:35 -04:00
815d39fc3f
Remove a couple plugins that were not being used and won't be ported over. If needed, they can be rewritten later.
2025-04-04 14:54:18 -04:00