From 7430d9f613fff15936cdb50db165b491d5acc20d Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Fri, 11 Aug 2023 17:43:12 -0400 Subject: [PATCH] ranger fix --- 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 cee4b4f..4d7e0d1 100644 --- a/homeConfig/modules/gui/config/sway.nix +++ b/homeConfig/modules/gui/config/sway.nix @@ -63,7 +63,7 @@ in "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"; "${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+f" = "exec alacritty -e sh -c 'EDITOR=nvim ranger'"; "${modifier}+Shift+d" = "exec emote"; }; };