Fix screenshot tools on river and sway

This commit is contained in:
Hydroxycarbamide 2024-05-16 18:52:51 +02:00
parent aadc4f7df7
commit dc29c5a33c
2 changed files with 17 additions and 8 deletions

View file

@ -99,7 +99,7 @@ bindsym $mod+w exec rofi -show window -theme catppuccin-macchiato
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy
bindsym $mod+Control+Shift+s exec grim -g "$(slurp)" /tmp/grim.png && tesseract -l eng+jpn /tmp/grim.png - | wl-copy && wl-paste | xargs -I{} notify-send "Tesseract" "Copied '{}'"
bindsym $mod+P exec grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - | wl-copy
bindsym $mod+P exec grim -g "$(slurp -o)" - | wl-copy
bindsym $mod+Shift+P exec grim - | wl-copy
# Drag floating windows by holding down $mod and left mouse button.