feat(hyprland): migrate desktop utility bindings

This commit was merged in pull request #160.
This commit is contained in:
alexion committed 2026-10-11 16:58:27 -04:00
1 parent 68415ad47e
commit 33128fc3c7
3 files changed
+46 -32

No files matched your search

@@ -6,8 +6,6 @@
}:
# Keybound screen recording: pick a region, then toggle a video-only capture.
let
user = config.user.name;
slurp = "${pkgs.slurp}/bin/slurp";
wf-recorder = "${pkgs.wf-recorder}/bin/wf-recorder";
notify-send = "${pkgs.libnotify}/bin/notify-send";
@@ -44,13 +42,13 @@ in
lib.mkEnableOption "wf-recorder screen recording";
config = lib.mkIf config.modules.desktop.utilities.recording.enable {
home-manager.users.${user} = {
# $mod is defined by the compositor config these binds share.
/*
wayland.windowManager.hyprland.settings.bind = [
"$mod SHIFT, R, exec, ${toggle}"
];
*/
registry.keybind.${config.networking.hostName}.recording-toggle = {
keys = "SUPER + SHIFT + R";
action = {
kind = "exec";
command = "${toggle}";
};
};
};
}