From dacdec7713fcc3de416fd8a300a9f4d6ba3167bd Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sat, 11 Nov 2023 22:32:40 +0300 Subject: [PATCH] Add screenshot annotations --- machines/enka/hyprland/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/machines/enka/hyprland/default.nix b/machines/enka/hyprland/default.nix index 374c057..097c171 100644 --- a/machines/enka/hyprland/default.nix +++ b/machines/enka/hyprland/default.nix @@ -69,8 +69,8 @@ bind = SUPER, SPACE, exec, pkill fuzzel; fuzzel bind = SUPER, V, exec, pkill fuzzel; cliphist list | fuzzel --dmenu | cliphist decode | wl-copy - bind = , PRINT, exec, grim -g "$(slurp -c 00000000)" - | wl-copy --type image/png; dunstify --timeout 1000 "Screenshot Copied To Clipboard" - bind = SHIFT, PRINT, exec, grim - | wl-copy --type image/png; dunstify --timeout 1000 "Screenshot Copied To Clipboard" + bind = , PRINT, exec, grim -g "$(slurp -w 0)" - | swappy -f - -o - | wl-copy --type image/png; dunstify --timeout 1000 "Screenshot Copied To Clipboard" + bind = SHIFT, PRINT, exec, grim - | swappy -f -o - | wl-copy --type image/png; dunstify --timeout 1000 "Screenshot Copied To Clipboard" bind = CTRL, PRINT, exec, kazam binde = , XF86AudioRaiseVolume, exec, wpctl set-volume --limit 1.5 @DEFAULT_AUDIO_SINK@ 5%+; /home/nixos/.config/hypr/volume.sh @@ -148,9 +148,10 @@ }) (with pkgs; homePackages "nixos" [ - cliphist brightnessctl + cliphist grim slurp + swappy wl-clipboard ])