This commit is contained in:
dichgrem
2025-11-05 16:43:49 +08:00
parent df526cd54f
commit 0ff31da235
7 changed files with 4 additions and 17 deletions

View File

@@ -32,13 +32,12 @@ bind = CTRL_SUPER, Q, exec, wlogout
### Terminal Emulator
bind = SUPER, Return, exec, alacritty
### Screenshot (Area Mod)
bind = SUPER, S, exec, sh ~/.config/waybar/scripts/Screenshot-Area.sh
bind = SUPER, S, exec, sh ~/.config/hypr/scripts/Screenshot-Area.sh
### Screenshot (Fullscreen Mod)
bind = SUPER_ALT, S, exec, sh ~/.config/waybar/scripts/Screenshot-Fullscreen.sh
bind = SUPER_ALT, S, exec, sh ~/.config/hypr/scripts/Screenshot-Fullscreen.sh
### Screenshot (Window Mod)
bind = SUPER_CTRL, S, exec, sh ~/.config/waybar/scripts/Screenshot-Hyprland-Window.sh
### Screenshot (OCR Mod)
bind = SUPER_CTRL_ALT, S, exec, sh ~/.config/waybar/scripts/Screenshot-OCR.sh
bind = SUPER_CTRL, S, exec, sh ~/.config/hypr/scripts/Screenshot-Hyprland-Window.sh
## Window actions

View File

@@ -1,4 +0,0 @@
#!/usr/bin/env bash
## only support EN
grim -g "$(slurp)" - | tesseract -l "eng" stdin stdout | wl-copy;notify-send "OCR content copied to clipboard"

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env bash
grim -g "$(swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp)" - | swappy -f -

View File

@@ -1,5 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [
tesseract
];
}