diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 9ac82e8..08391e4 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -18,13 +18,13 @@ if [[ $region -eq 1 ]]; then if [[ $clip -eq 1 ]]; then - ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" | ${pkgs.wl-clipboard}/bin/wl-copy + ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" - | ${pkgs.wl-clipboard}/bin/wl-copy else ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" ~/Pictures/Screenshots/$(${pkgs.coreutils}/bin/date +'%Y-%m-%d_%H-%M-%S').png fi else if [[ $clip -eq 1 ]]; then - ${pkgs.grim}/bin/grim | ${pkgs.wl-clipboard}/bin/wl-copy + ${pkgs.grim}/bin/grim - | ${pkgs.wl-clipboard}/bin/wl-copy else ${pkgs.grim}/bin/grim ~/Pictures/Screenshots/$(${pkgs.coreutils}/bin/date +'%Y-%m-%d_%H-%M-%S').png fi