From 705cb3e15a9098a72b333366c12b580822b0a579 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Sat, 23 Mar 2024 08:40:20 -0400 Subject: Add a screeenshot command that populates the clipboard. Adjust waybar theme --- river/init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'river') diff --git a/river/init b/river/init index 1a69b69..ddcf518 100755 --- a/river/init +++ b/river/init @@ -14,6 +14,7 @@ # riverctl map normal Super+Shift Return spawn foot # riverctl map normal Super Return spawn alacritty riverctl map normal Super Return spawn foot +riverctl map normal Super+Shift Return spawn 'foot -c "$HOME/.config/foot/light.ini"' # Super+Q to close the focused view riverctl map normal Super+Shift Q close @@ -176,6 +177,7 @@ 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+Shift+Alt+Control P spawn '_f=/tmp/screenshot_$(date +%s).png; grim -g "$(slurp)" $_f; wl-copy < $_f' riverctl map normal Super P spawn dpw-menu riverctl map normal Super+Control P spawn 'dpw-menu -o' -- cgit v1.2.3