fixed grim

This commit is contained in:
Bryan Ramos 2024-05-19 00:04:31 -04:00
parent 2dd06de8ab
commit 46157df78c
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
2 changed files with 4 additions and 5 deletions

View file

@ -86,9 +86,6 @@ in
"${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}+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 sh -c 'EDITOR=nvim ranger'"; "${modifier}+Shift+f" = "exec alacritty -e sh -c 'EDITOR=nvim ranger'";
"${modifier}+Shift+d" = "exec rofi -modi emoji -show emoji"; "${modifier}+Shift+d" = "exec rofi -modi emoji -show emoji";
"${modifier}+Shift+Return" = ''
exec alacritty --working-directory -e $(pwd)
'';
}; };
}; };

View file

@ -39,11 +39,13 @@ in
home.packages = with pkgs; [ home.packages = with pkgs; [
pavucontrol pavucontrol
xdg-utils xdg-utils
grim
slurp
wl-clipboard wl-clipboard
autotiling autotiling
grim
jq
slurp
ranger ranger
highlight highlight