From 20200972961419a10eea2e25a9a1d2601d84f123 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Sun, 11 Jun 2023 19:36:42 -0400 Subject: [PATCH] fixed ss --- homeConfig/modules/gui/config/sway.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeConfig/modules/gui/config/sway.nix b/homeConfig/modules/gui/config/sway.nix index 664c8b6..8656e0d 100644 --- a/homeConfig/modules/gui/config/sway.nix +++ b/homeConfig/modules/gui/config/sway.nix @@ -62,7 +62,7 @@ in keybindings = lib.mkOptionDefault { "${modifier}+q" = "kill"; "Print" = "exec grim ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png"; - "Shift+Print" = "exec grim -g '$(slurp)'' ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png"; + "Shift+Print" = "exec grim -g \"$(slurp)\" ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png"; "${modifier}+Print" = ''exec sh -c 'grim -g "$(swaymsg -t get_tree | jq -j '"'"'.. | select(.type?) | select(.focused).rect | "\(.x),\(.y) \(.width)x\(.height)"'"'"')" ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png' ''; "${modifier}+Shift+f" = "exec alacritty -e ranger"; "${modifier}+Shift+d" = "exec emote";