fix: flameshot have issues on wayland with dual monitors, remove it

This commit is contained in:
Ryan Yin
2025-06-01 22:23:30 +08:00
parent c6113d6f28
commit bc36220606
4 changed files with 4 additions and 18 deletions

View File

@@ -42,10 +42,5 @@
services = {
playerctld.enable = true;
flameshot = {
enable = true;
package = pkgs.flameshot.override {enableWlrSupport = true;};
};
};
}

View File

@@ -147,8 +147,9 @@ bind = $mod, f, fullscreen
# -- Screenshots --
bind = , Print, exec, hyprshot -m output -o ~/Pictures/Screenshots -- imv
bind = $mod, Print, exec, hyprshot -m window -o ~/Pictures/Screenshots -- imv
bind = CTRL, Print, exec, flameshot gui --raw -p ~/Pictures/Screenshots | wl-copy
bind = CTRL, Print, exec, hyprshot -m region -o ~/Pictures/Screenshots
# -- Others --
bind = CTRL ALT, l, exec, hyprlock
bind = $mod SHIFT, x, exec, wlogout
bind = $mod, n, exec, nm-connection-editor # need install network-manager-applet

View File

@@ -53,15 +53,6 @@ windowrulev2 = fullscreen, class:^(steam)$
# Games
# windowrulev2 = immediate, class:^(steam_app_xxx)$ # game 1
# flameshot
windowrulev2 = move 0 0, class:(flameshot)
windowrulev2 = pin, class:(flameshot)
windowrulev2 = noborder, class:(flameshot)
windowrulev2 = stayfocused, class:(flameshot)
windowrulev2 = float, class:(flameshot)
# avoid transparency
windowrulev2 = opaque, class:(flameshot)
# wlogout
windowrulev2 = float, class:^(wlogout)$
windowrulev2 = move 0 0, class:^(wlogout)$