diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index c46aa3f..210b646 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -82,7 +82,8 @@ in { pkgs.pavucontrol pkgs.wlogout pkgs.sway-audio-idle-inhibit - pkgs.hyprshot + pkgs.grim + pkgs.slurp pkgs.nix-output-monitor diff --git a/modules/rice/hyprland/binds.nix b/modules/rice/hyprland/binds.nix index ea243a0..16ee613 100644 --- a/modules/rice/hyprland/binds.nix +++ b/modules/rice/hyprland/binds.nix @@ -44,7 +44,7 @@ in { "${mod},mouse_up,workspace,e-1" # move to the previous ws "${mod},X,exec, ags --toggle-window \"dashboard\"" - "${mod},Print,exec, hyprshot -m region --clipboard-only" + "${mod},Print,exec,grim -g \"$(slurp)\" - | wl-copy && wl-paste > ~/Pictures/Screenshots/Screenshot-$(date +%F_%T).png;" ",Print,exec, grim - | wl-copy" "${modshift},O,exec,wl-ocr"