diff --git a/desktop/config/hypr/sjb/extra.lua b/desktop/config/hypr/sjb/extra.lua index 2712e84..af65427 100644 --- a/desktop/config/hypr/sjb/extra.lua +++ b/desktop/config/hypr/sjb/extra.lua @@ -22,7 +22,7 @@ hl.bind("SUPER + ALT + escape", hl.dsp.exit(), { description = "Exit Hyprland" } hl.bind("SUPER + CONTROL + escape", hl.dsp.exec_raw("reboot"), { description = "Reboot" }) hl.bind("SUPER + SHIFT + CONTROL + escape", hl.dsp.exec_raw("systemctl poweroff"), { description = "Power off" }) -hl.bind("Print", +hl.bind("PRINT", hl.dsp.exec_cmd("hyprshot -m window -o ~/Pictures/ -- tensaku-edit"), { description = "Take screenshot" }) @@ -35,11 +35,11 @@ hl.bind("SUPER + CONTROL + PRINT", hl.dsp.exec_cmd("hyprshot -m region --raw -z | /usr/bin/tesseract stdin stdout --oem 1 --psm 6 -l eng | wl-copy"), { description = "Extract text (OCR) from screenshot" }) -hl.bind("SUPER + ALT + Print", +hl.bind("SUPER + ALT + PRINT", hl.dsp.exec_cmd("~/.local/bin/screen-recorder -o ~/Videos/$(date +'%Y-%m-%d_%H%M%S')_recording.mp4"), { description = "Start/Stop screen recording" }) -hl.bind("SUPER + ALT + SHIFT + Print", +hl.bind("SUPER + ALT + SHIFT + PRINT", hl.dsp.exec_cmd("~/.local/bin/screen-recorder stop"), { description = "Stop screen recording" })