Fix screenrecording menu and reveal it as the only hotkey

This commit is contained in:
David Heinemeier Hansson
2025-10-14 12:35:06 +03:00
parent 9c8dad9054
commit 90536dff3f
2 changed files with 4 additions and 7 deletions

View File

@@ -114,11 +114,11 @@ show_screenshot_menu() {
show_screenrecord_menu() {
case $(menu "Screenrecord" " Region\n Region + Audio\n Display\n Display + Audio") in
*"Region + Audio"*) omarchy-cmd-screenrecord region audio ;;
*"Region + Audio"*) omarchy-cmd-screenrecord region --with-audio ;;
*Region*) omarchy-cmd-screenrecord ;;
*"Display + Audio"*) omarchy-cmd-screenrecord output audio ;;
*"Display + Audio"*) omarchy-cmd-screenrecord output --with-audio ;;
*Display*) omarchy-cmd-screenrecord output ;;
*) show_capture_menu ;;
*) back_to show_capture_menu ;;
esac
}

View File

@@ -36,10 +36,7 @@ bindd = SHIFT, PRINT, Screenshot of window, exec, omarchy-cmd-screenshot window
bindd = CTRL, PRINT, Screenshot of display, exec, omarchy-cmd-screenshot output
# Screen recordings
bindd = ALT, PRINT, Screen record a region, exec, omarchy-cmd-screenrecord region
bindd = ALT SHIFT, PRINT, Screen record a region with audio, exec, omarchy-cmd-screenrecord region --with-audio
bindd = CTRL ALT, PRINT, Screen record display, exec, omarchy-cmd-screenrecord output
bindd = CTRL ALT SHIFT, PRINT, Screen record display with audio, exec, omarchy-cmd-screenrecord output --with-audio
bindd = ALT, PRINT, Screen record menu, exec, omarchy-menu screenrecord
# Color picker
bindd = SUPER, PRINT, Color picker, exec, pkill hyprpicker || hyprpicker -a