From 75cc7d5102161965b0eae2f16ebacd561299dea6 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 9 Dec 2024 18:11:39 +0100 Subject: [PATCH 1/2] Add OCR keybind --- home/.config/hypr/hyprland.d/keybinds.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/hypr/hyprland.d/keybinds.conf b/home/.config/hypr/hyprland.d/keybinds.conf index c2075b9..6a55750 100644 --- a/home/.config/hypr/hyprland.d/keybinds.conf +++ b/home/.config/hypr/hyprland.d/keybinds.conf @@ -59,7 +59,7 @@ bind = CTRL, Print, exec, hyprland-screenshot --notify --copy --target area --de bind = SUPER_SHIFT, Print, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area --edit bind = SUPER_CTRL, Print, exec, hyprland-screenshot --notify --copy --target area --delay $SCREENSHOT_DELAY --edit bind = SUPER_SHIFT_CTRL, Print, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area --delay $SCREENSHOT_DELAY --edit -# bind = , Print, exec, hyprland-screenshot --save $SCREENSHOT_FORMAT --target all +bind = SUPER_ALT, Print, exec, ocr && notify-send "OCR" "Text copied to clipboard" # XF86Favorites key for recording # (don't question me, I had it free) From 31ab2cdb8edfd7602742ffec0cf547a8fba32677 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 9 Dec 2024 18:12:25 +0100 Subject: [PATCH 2/2] Auto-install xdg desktop portal gtk --- install_gui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_gui.sh b/install_gui.sh index 265ead3..2ab9ba5 100755 --- a/install_gui.sh +++ b/install_gui.sh @@ -99,7 +99,7 @@ paru -S --noconfirm --needed \ # Wayland WM essentials paru -S --noconfirm --needed \ - wl-clipboard xdg-desktop-portal qt5-wayland qt6-wayland wev wl-gammarelay-rs wdisplays + wl-clipboard xdg-desktop-portal xdg-desktop-portal-gtk qt5-wayland qt6-wayland wev wl-gammarelay-rs wdisplays # Utilities paru -S --noconfirm --needed \