✨ use grim and slurp to take screenshots
This commit is contained in:
@@ -4,11 +4,14 @@
|
|||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Keywords and https://wiki.hyprland.org/Configuring/Binds for information on how to configure input
|
# https://wiki.hyprland.org/Configuring/Keywords and https://wiki.hyprland.org/Configuring/Binds for information on how to configure input
|
||||||
|
|
||||||
$mainMod = SUPER
|
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$fileManager = nautilus
|
$fileManager = nautilus
|
||||||
$menu = wofi
|
$menu = wofi
|
||||||
$screenshotDir = "$HOME/Imagens/Capturas"
|
$mainMod = SUPER
|
||||||
|
$screenshotFile = "$HOME/Screenshots/screenshot_$(date '%y%m%d_%H-%M-%S').png"
|
||||||
|
$screenshotFull = grim -c $screenshotDir - | wl-copy
|
||||||
|
$screenshotSelect = grim -g "$(slurp)" $screenshotDir - | wl-copy
|
||||||
|
|
||||||
|
|
||||||
input {
|
input {
|
||||||
kb_layout = br
|
kb_layout = br
|
||||||
@@ -58,9 +61,9 @@ bind = , code:171, exec, playerctl next # Next media
|
|||||||
bind = , code:232, exec, brightnessctl s 5%- # Lower monitor brightness
|
bind = , code:232, exec, brightnessctl s 5%- # Lower monitor brightness
|
||||||
bind = , code:233, exec, brightnessctl s +5% # Increase monitor brightness
|
bind = , code:233, exec, brightnessctl s +5% # Increase monitor brightness
|
||||||
|
|
||||||
# Hyprshot
|
# Screenshot
|
||||||
bind = , Print, exec, hyprshot -m region --output-folder $screenshotDir
|
bind = , Print, exec, $screenshotSelect
|
||||||
bind = $mainMod, Print, exec, hyprshot -m output --output-folder $screenshotDir
|
bind = $mainMod, Print, exec, $screenshotFull
|
||||||
|
|
||||||
# Open wofi clipboard
|
# Open wofi clipboard
|
||||||
bind = $mainMod, V, exec, cliphist list | $menu -S dmenu | cliphist decode | wl-copy
|
bind = $mainMod, V, exec, cliphist list | $menu -S dmenu | cliphist decode | wl-copy
|
||||||
|
|||||||
@@ -11,4 +11,7 @@ windowrulev2 = float, title:^(Clapper)$
|
|||||||
windowrulev2 = float, title:^(Resources)$
|
windowrulev2 = float, title:^(Resources)$
|
||||||
windowrulev2 = float, class:^xdg-desktop-portal*
|
windowrulev2 = float, class:^xdg-desktop-portal*
|
||||||
|
|
||||||
|
# Animations
|
||||||
|
layerrule = animation fade,selection
|
||||||
|
|
||||||
windowrulev2 = suppressevent maximize, class:.*
|
windowrulev2 = suppressevent maximize, class:.*
|
||||||
|
|||||||
Reference in New Issue
Block a user