diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-22 20:59:50 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-22 20:59:50 -0500 |
| commit | c6a72fb6a2958c5128c28a5f01ff885c1808a2b5 (patch) | |
| tree | 08647379498796debb94c56a90cb8b8f80c1590f | |
| parent | 363c51a386d73b5eda9727e6f8b0f70a78faac37 (diff) | |
| download | rivercfg-c6a72fb6a2958c5128c28a5f01ff885c1808a2b5.tar.gz rivercfg-c6a72fb6a2958c5128c28a5f01ff885c1808a2b5.tar.xz | |
Add screenshot functionality
| -rwxr-xr-x | fedora.sh | 2 | ||||
| -rwxr-xr-x | river/init | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -21,5 +21,5 @@ fi export PATH="$zigdir:$PATH" cd - ./bldRiver.sh -sudo yum -y install foot bemenu waybar swaylock swaybg +sudo yum -y install foot bemenu waybar swaylock swaybg grim slurp ./bldSession.sh @@ -168,6 +168,9 @@ riverctl map normal Super D spawn bemenu-run riverctl map normal Super B spawn 'pkill -SIGUSR1 waybar' riverctl focus-follows-cursor normal +riverctl map normal Super+Shift P spawn 'grim /tmp/screenshot_$(date +S).png' +riverctl map normal Super+Shift+Control P spawn 'grim -g "$(slurp)" /tmp/screenshot_$(date +%S).png' + riverctl map normal Super P spawn dpw-menu riverctl map normal Super+Control P spawn 'dpw-menu -o' riverctl map normal Super O spawn 'dpw-menu --type' |
