Correctly exit the mode after pressing esc or return
This commit is contained in:
parent
828501358c
commit
7a3cd8672e
2 changed files with 2 additions and 1 deletions
|
@ -42,6 +42,8 @@
|
|||
Print = ''exec ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp - d) " - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png'';
|
||||
Space = ''exec ${pkgs.grim}/bin/grim -g "$(${pkgs.sway}/bin/swaymsg -t get_tree | ${pkgs.jq}/bin/jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"')" - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png'';
|
||||
f = ''exec ${pkgs.grim}/bin/grim - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png'';
|
||||
Escape = ''mode "default"'';
|
||||
Return = ''mode "default"'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
1
result
1
result
|
@ -1 +0,0 @@
|
|||
/nix/store/x5zfwixpxbyl1c28hnz93cg62vqnp366-nixos-system-nutty-noon-22.05.20220119.966ea2c
|
Loading…
Reference in a new issue