fix flameshot on hyprland

This commit is contained in:
Carlos Sousa 2025-04-16 13:28:54 +02:00
parent 5b54b21df3
commit 5fcee906cd
2 changed files with 15 additions and 5 deletions

View File

@ -18,12 +18,12 @@ exec-once = waybar
# Network Manager
exec-once = nm-applet &
# Screenshot
exec-once = XDG_CURRENT_DESTOP=sway flameshot
# Syncthing
exec-once = syncthing --no-browser &
# Wallpaper
exec-once = hyprpaper
exec-once = systemctl --user start random_hyprpaper.timer
# Screenshot
exec-once = XDG_CURRENT_DESKTOP=sway flameshot

View File

@ -7,5 +7,15 @@ windowrulev2 = float, center, initialTitle:(Friends List)(.*)
# Calculator
windowrulev2 = float, center, initialTitle:(KCalc)
# Godot
windowrulev2 = float, center, initialClass:(Godot), initialTitle:(.*)(DEBUG)(.*)
windowrulev2 = float, class:^Godot$, title:.*(Debug|DEBUG|debug).*
# Flameshot "fixes"
# noanim isn't necessary but animations with these rules might look bad. use at your own discretion.
windowrule = noanim, class:^(flameshot)$
windowrule = float, class:^(flameshot)$
windowrule = move 0 0, class:^(flameshot)$
windowrule = pin, class:^(flameshot)$
# set this to your leftmost monitor id, otherwise you have to move your cursor to the leftmost monitor
# before executing flameshot
windowrule = monitor 1, class:^(flameshot)$