diff options
author | Justine Smithies <justine@smithies.me.uk> | 2023-10-13 22:10:04 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2023-10-13 22:10:04 +0100 |
commit | 0287ca21fcd215e5a61ca736ea3905bac5756ed4 (patch) | |
tree | a7d8dee5ab26d51cdc1e2b1cc39edb8d8e577aa3 /.config/river | |
parent | 3447e172a76bb890254845012ff30775bd5a8713 (diff) |
Fixed screenshot keybinds
Diffstat (limited to '.config/river')
-rwxr-xr-x | .config/river/init | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/river/init b/.config/river/init index c5bf5d0..0b814ff 100755 --- a/.config/river/init +++ b/.config/river/init @@ -140,13 +140,13 @@ riverctl map normal Super F11 enter-mode passthrough riverctl map passthrough Super F11 enter-mode normal # Take a screenshot of the active output -riverctl map normal None Print spawn "grim -o $(lswt -j | jq -c '.[] | select(.activated) | .outputs' | awk -F'"' '{print $2}') -t jpeg ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg" +riverctl map normal None Print spawn '~/.local/bin/screenshot.sh' # Take a screenshot of the selected region -riverctl map normal Super Print spawn 'grim -t jpeg -g "$(slurp)" ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg' +riverctl map normal Super Print spawn '~/.local/bin/screenshot.sh selected-region' # Take a screenshot and save it to the clipboard -riverctl map normal Super+Shift Print spawn 'grim -g "$(slurp)" -| wl-copy && notify-send "Screenshot Clipped"' +riverctl map normal Super+Shift Print spawn '~/.local/bin/screenshot.sh save-to-clipboard' # The scratchpad will live on an unused tag. Which tags are used depends on your # config, but rivers default uses the first 9 tags. @@ -187,7 +187,7 @@ done riverctl background-color 0x002b36 riverctl border-color-focused 0x33ccff riverctl border-color-unfocused 0x595959 - +riverctl border-width 4 # Set keyboard repeat rate riverctl set-repeat 50 300 |