mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 19:22:00 -05:00
style:sh
This commit is contained in:
9
dotfiles/.config/hypr/hyprland/bind.conf
vendored
9
dotfiles/.config/hypr/hyprland/bind.conf
vendored
@@ -32,13 +32,12 @@ bind = CTRL_SUPER, Q, exec, wlogout
|
|||||||
### Terminal Emulator
|
### Terminal Emulator
|
||||||
bind = SUPER, Return, exec, alacritty
|
bind = SUPER, Return, exec, alacritty
|
||||||
### Screenshot (Area Mod)
|
### 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)
|
### 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)
|
### Screenshot (Window Mod)
|
||||||
bind = SUPER_CTRL, S, exec, sh ~/.config/waybar/scripts/Screenshot-Hyprland-Window.sh
|
bind = SUPER_CTRL, S, exec, sh ~/.config/hypr/scripts/Screenshot-Hyprland-Window.sh
|
||||||
### Screenshot (OCR Mod)
|
|
||||||
bind = SUPER_CTRL_ALT, S, exec, sh ~/.config/waybar/scripts/Screenshot-OCR.sh
|
|
||||||
|
|
||||||
|
|
||||||
## Window actions
|
## Window actions
|
||||||
|
|||||||
@@ -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"
|
|
||||||
@@ -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 -
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
tesseract
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user