Add support for flameshot

This commit is contained in:
Thomas Forgione 2025-11-25 17:39:30 +01:00
parent 10eca94bc9
commit 00b8e74033

View File

@ -42,7 +42,6 @@ exec-once = $hyprscript stat
exec-once = hyprpaper exec-once = hyprpaper
exec-once = hypridle exec-once = hypridle
exec-once = nm-applet exec-once = nm-applet
exec-once = flameshot
exec-once = blueberry-tray exec-once = blueberry-tray
exec-once = nextcloud --background exec-once = nextcloud --background
exec-once = [workspace special:a_social silent] $social 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 bind = $mainMod SHIFT, code:19, exec, $hyprscript movetoworkspace 10
# Screenshot # 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) # Example special workspace (scratchpad)
bind = $mainMod, Q, togglespecialworkspace, a_social bind = $mainMod, Q, togglespecialworkspace, a_social
@ -333,3 +332,10 @@ windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned
# Nvidia config # Nvidia config
env = LIBVA_DRIVER_NAME,nvidia env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_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