mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 01:43:10 -05:00
Add screenshot commands
This commit is contained in:
parent
cf1cfc18ac
commit
a93c1b6945
1 changed files with 13 additions and 1 deletions
|
@ -7,7 +7,19 @@ riverctl map normal Super Return spawn kitty
|
||||||
riverctl map normal Super Space spawn fuzzel
|
riverctl map normal Super Space spawn fuzzel
|
||||||
|
|
||||||
# Logout
|
# Logout
|
||||||
riverctl map normal Super End spawn "wleave -p layer-shell"
|
riverctl map normal Super End spawn 'wleave -p layer-shell'
|
||||||
|
|
||||||
|
# Screenshot entire display to clipboard
|
||||||
|
riverctl map normal Super Print spawn 'grim -t png - | wl-copy -t image/png'
|
||||||
|
|
||||||
|
# Screenshot entire display and save to file
|
||||||
|
riverctl map normal Super+Control Print spawn 'grim -t png ~/Pictures/screenshot-$(date +%Y-%m-%d_%T).png'
|
||||||
|
|
||||||
|
# Screenshot selection to clipboard
|
||||||
|
riverctl map normal Alt Print spawn 'grim -t png -g "$(slurp -d)" - | wl-copy -t image/png'
|
||||||
|
|
||||||
|
# Screenshot selection and save to file
|
||||||
|
riverctl map normal Super+Alt Print spawn 'grim -t png ~/Pictures/screenshot-$(date +%Y-%m-%d_%T).png'
|
||||||
|
|
||||||
# Close the focused view
|
# Close the focused view
|
||||||
riverctl map normal Super Q close
|
riverctl map normal Super Q close
|
||||||
|
|
Loading…
Reference in a new issue