mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-21 00:11:26 +02:00
fix: flameshot have issues on wayland with dual monitors, remove it
This commit is contained in:
@@ -42,10 +42,5 @@
|
||||
|
||||
services = {
|
||||
playerctld.enable = true;
|
||||
|
||||
flameshot = {
|
||||
enable = true;
|
||||
package = pkgs.flameshot.override {enableWlrSupport = true;};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)$
|
||||
|
||||
Reference in New Issue
Block a user