diff --git a/hyprland.conf b/hyprland.conf index 2eaed5d..372b05c 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -42,7 +42,6 @@ exec-once = $hyprscript stat exec-once = hyprpaper exec-once = hypridle exec-once = nm-applet -exec-once = flameshot exec-once = blueberry-tray exec-once = nextcloud --background exec-once = [workspace special:a_social silent] $social @@ -286,7 +285,7 @@ bind = $mainMod SHIFT, code:18, exec, $hyprscript movetoworkspace 9 bind = $mainMod SHIFT, code:19, exec, $hyprscript movetoworkspace 10 # Screenshot -bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy +bind = , Print, exec, XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway QT_QPA_PLATFORM=wayland flameshot gui # Example special workspace (scratchpad) bind = $mainMod, Q, togglespecialworkspace, a_social @@ -333,3 +332,10 @@ windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned # Nvidia config env = LIBVA_DRIVER_NAME,nvidia env = __GLX_VENDOR_LIBRARY_NAME,nvidia + +# Flameshot +windowrule = pin, class:flameshot,title:flameshot-pin +windowrule = float, class:flameshot,title:flameshot-pin +windowrule = noborder, class:flameshot,title:flameshot-pin +windowrule = noblur, class:flameshot,title:flameshot-pin +windowrule = noshadow, class:flameshot,title:flameshot-pin