mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 20:40:24 +01:00
fix: flameshot have issues on wayland with dual monitors, remove it
This commit is contained in:
@@ -72,7 +72,7 @@ You don't have to go through the pain I've experienced again! Check out my
|
||||
| **Text Editor** | [Neovim][Neovim] |
|
||||
| **Fonts** | [Nerd fonts][Nerd fonts] |
|
||||
| **Image Viewer** | [imv][imv] |
|
||||
| **Screenshot Software** | [flameshot][flameshot] |
|
||||
| **Screenshot Software** | [hyprshot][hyprshot] |
|
||||
| **Screen Recording** | [OBS][OBS] |
|
||||
| **Filesystem & Encryption** | tmpfs on `/`, [Btrfs][Btrfs] subvolumes on a [LUKS][LUKS] encrypted partition for persistent, unlock via passphrase |
|
||||
| **Secure Boot** | [lanzaboote][lanzaboote] |
|
||||
@@ -193,8 +193,7 @@ Other dotfiles that inspired me:
|
||||
[Zellij]: https://github.com/zellij-org/zellij
|
||||
[Neovim]: https://github.com/neovim/neovim
|
||||
[AstroNvim]: https://github.com/AstroNvim/AstroNvim
|
||||
[flameshot]: https://github.com/flameshot-org/flameshot
|
||||
[flameshot]: https://github.com/flameshot-org/flameshot
|
||||
[Hyprshot]: https://github.com/Gustash/Hyprshot
|
||||
[imv]: https://sr.ht/~exec64/imv/
|
||||
[OBS]: https://obsproject.com
|
||||
[Mako]: https://github.com/emersion/mako
|
||||
|
||||
@@ -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