diff --git a/dotfiles/.config/hypr/hyprland/bind.conf b/dotfiles/.config/hypr/hyprland/bind.conf index 48a0a31..6f7b53d 100644 --- a/dotfiles/.config/hypr/hyprland/bind.conf +++ b/dotfiles/.config/hypr/hyprland/bind.conf @@ -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 diff --git a/dotfiles/.config/waybar/scripts/Screenshot-Area.sh b/dotfiles/.config/hypr/scripts/Screenshot-Area.sh similarity index 100% rename from dotfiles/.config/waybar/scripts/Screenshot-Area.sh rename to dotfiles/.config/hypr/scripts/Screenshot-Area.sh diff --git a/dotfiles/.config/waybar/scripts/Screenshot-Fullscreen.sh b/dotfiles/.config/hypr/scripts/Screenshot-Fullscreen.sh similarity index 100% rename from dotfiles/.config/waybar/scripts/Screenshot-Fullscreen.sh rename to dotfiles/.config/hypr/scripts/Screenshot-Fullscreen.sh diff --git a/dotfiles/.config/waybar/scripts/Screenshot-Hyprland-Window.sh b/dotfiles/.config/hypr/scripts/Screenshot-Hyprland-Window.sh similarity index 100% rename from dotfiles/.config/waybar/scripts/Screenshot-Hyprland-Window.sh rename to dotfiles/.config/hypr/scripts/Screenshot-Hyprland-Window.sh diff --git a/dotfiles/.config/waybar/scripts/Screenshot-OCR.sh b/dotfiles/.config/waybar/scripts/Screenshot-OCR.sh deleted file mode 100644 index eebdf67..0000000 --- a/dotfiles/.config/waybar/scripts/Screenshot-OCR.sh +++ /dev/null @@ -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" diff --git a/dotfiles/.config/waybar/scripts/Screenshot-sway-Window.sh b/dotfiles/.config/waybar/scripts/Screenshot-sway-Window.sh deleted file mode 100644 index 4d0977c..0000000 --- a/dotfiles/.config/waybar/scripts/Screenshot-sway-Window.sh +++ /dev/null @@ -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 - diff --git a/home/cli/tesseract.nix b/home/cli/tesseract.nix deleted file mode 100644 index 61a65b2..0000000 --- a/home/cli/tesseract.nix +++ /dev/null @@ -1,5 +0,0 @@ -{pkgs, ...}: { - home.packages = with pkgs; [ - tesseract - ]; -}