1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

feat: add gpu-screen-recorder service

This commit is contained in:
oddlama 2024-07-09 23:25:31 +02:00
parent 3ae125aef7
commit 270b807d8c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 133 additions and 1 deletions

View file

@ -2,6 +2,7 @@
# TODO: better qr script: click button, freeze screen, highlight qrs, overlay preview detected text, click to copy.
# TODO ai speech indicator / toggle
{
config,
lib,
nixosConfig,
pkgs,
@ -62,6 +63,10 @@ in {
"SUPER,F11,exec,${getExe pkgs.scripts.screenshot-area-scan-qr}"
"SUPER,F12,exec,${getExe pkgs.scripts.screenshot-screen}"
"SUPER,End,exec,${getExe config.lib.gpu-screen-recorder.save-replay}"
"SUPER,Prior,exec,systemctl --user restart gpu-screen-recorder.service"
"SUPER,Next,exec,systemctl --user stop gpu-screen-recorder.service"
# Per-window actions
"SUPER,q,killactive,"
"SUPER,return,fullscreen,"