diff --git a/README.md b/README.md index e771d638..d9b09485 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/home/linux/gui/base/media.nix b/home/linux/gui/base/media.nix index 09aec840..5334e321 100644 --- a/home/linux/gui/base/media.nix +++ b/home/linux/gui/base/media.nix @@ -42,10 +42,5 @@ services = { playerctld.enable = true; - - flameshot = { - enable = true; - package = pkgs.flameshot.override {enableWlrSupport = true;}; - }; }; } diff --git a/home/linux/gui/hyprland/conf/configs/keybindings.conf b/home/linux/gui/hyprland/conf/configs/keybindings.conf index 0ab7c272..45c514d9 100644 --- a/home/linux/gui/hyprland/conf/configs/keybindings.conf +++ b/home/linux/gui/hyprland/conf/configs/keybindings.conf @@ -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 diff --git a/home/linux/gui/hyprland/conf/configs/windowrules.conf b/home/linux/gui/hyprland/conf/configs/windowrules.conf index 34f0da2f..c08d20f5 100644 --- a/home/linux/gui/hyprland/conf/configs/windowrules.conf +++ b/home/linux/gui/hyprland/conf/configs/windowrules.conf @@ -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)$