mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 11:12: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
|
||||
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
|
||||
|
||||
@@ -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