refactor(services): split screen capture into screenshot + recorder services
Split the monolithic ScreenCapture service into focused Screenshot and ScreenRecorder services behind a pluggable capture backend. - Add shared/capture.py: CaptureBackend abstraction + HyprlandCaptureBackend (hyprshot/grim/slurp/wf-recorder) and reusable CaptureNotifier - Add services/screenshot.py and services/screenrecorder.py with Fabric properties/signals; recording state kept in memory (no /tmp files) - Keep services/screencapture.py as a backwards-compatible facade so existing widgets and signals keep working - Resolve monitors via Hyprland IPC helpers in services/modus.py instead of spawning `hyprctl monitors -j` per capture - Implement real window recording (slurp window boxes) and split the record-window / record-region UI mappings - Register screenshot_service / screen_recorder_service singletons - Remove dead src/utils/inhibit.py duplicate; minor modus.lua quoting fix
This commit is contained in:
9 files changed
+1063
-566
No files matched your search
@@ -30,7 +30,7 @@ for key, method in pairs({
|
||||
["SUPER + SHIFT + Y"] = "app.set_css()", -- Reload CSS
|
||||
["ALT + TAB"] = "switcher.show_switcher()", -- Application Switcher
|
||||
["SUPER + Z"] = "screencapture.toggle()", -- ScreenCapture
|
||||
["SUPER + S"] = 'screencapture.toggle(ss="region")', -- Screenshot Region
|
||||
["SUPER + S"] = "screencapture.toggle(ss='region')", -- Screenshot Region
|
||||
["ALT + SPACE"] = "switch_keyboard_layout()", -- KB_Layout Switcher
|
||||
["ALT + SHIFT + W"] = "spotlight.toggle('wr', external=True)", -- Random Wallpaper
|
||||
}) do
|
||||
|
||||
Reference in new issue
Block a user