From 9defe7c70bc236170e2637ea26666f20e9567de9 Mon Sep 17 00:00:00 2001 From: caiowakamatsu Date: Thu, 25 Sep 2025 14:24:26 -0300 Subject: [PATCH] add screenshot --- hypr/hyprland.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index a9bb3d6..bb912ca 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -10,7 +10,7 @@ monitor=,preferred,auto,1 $terminal = kitty $fileManager = dolphin $menu = rofi -show drun - +$screenshot = grim -g "$(slurp)" - | swappy -f - ################# ### AUTOSTART ### @@ -23,6 +23,7 @@ $menu = rofi -show drun # exec-once = nm-applet & # exec-once = waybar & hyprpaper & firefox exec-once = swww-daemon & disown +exec-once = ~/.config/scripts/launch.sh # status bar ############################# ### ENVIRONMENT VARIABLES ### @@ -203,6 +204,9 @@ device { # See https://wiki.hypr.land/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier +# Screenshots +bind = SUPER_SHIFT, S, exec, $screenshot + # Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more bind = $mainMod, RETURN, exec, $terminal bind = SUPER_SHIFT, Q, killactive, @@ -241,10 +245,6 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 -# Example special workspace (scratchpad) -bind = $mainMod, S, togglespecialworkspace, magic -bind = $mainMod SHIFT, S, movetoworkspace, special:magic - # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1