mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -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
|
||||
|
||||
3
dotfiles/.config/hypr/scripts/Screenshot-Area.sh
vendored
Normal file
3
dotfiles/.config/hypr/scripts/Screenshot-Area.sh
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
grim -g "$(slurp)" - | swappy -f -
|
||||
3
dotfiles/.config/hypr/scripts/Screenshot-Fullscreen.sh
vendored
Normal file
3
dotfiles/.config/hypr/scripts/Screenshot-Fullscreen.sh
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
grim - | wl-copy -t image/png;notify-send "Screenshot copied to clipboard"
|
||||
3
dotfiles/.config/hypr/scripts/Screenshot-Hyprland-Window.sh
vendored
Normal file
3
dotfiles/.config/hypr/scripts/Screenshot-Hyprland-Window.sh
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
grim -g "$(hyprctl clients -j | jq '.[] | select(.hidden | not) | "\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' -r | slurp)" - | swappy -f -
|
||||
Reference in New Issue
Block a user