2024-06-23 04:55:57 +03:00
|
|
|
{ ... }: {
|
2024-04-06 03:03:58 +03:00
|
|
|
text = ''
|
|
|
|
# Fullscreen screenshot.
|
2024-07-28 03:51:41 +03:00
|
|
|
bindsym --to-code $mod+shift+v exec grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - | wl-copy -t image/png
|
2024-04-06 03:03:58 +03:00
|
|
|
|
|
|
|
# Select screenshot.
|
2024-07-28 03:51:41 +03:00
|
|
|
bindsym --to-code $mod+v exec grim -g "$(slurp -d)" - | wl-copy
|
2024-04-06 03:03:58 +03:00
|
|
|
'';
|
|
|
|
}
|