diff options
author | Himbeer <himbeer@disroot.org> | 2024-09-29 18:00:18 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-09-29 18:12:42 +0200 |
commit | 2ab23c8bfbd97b44d98cb20e13c7dbefeddca6f5 (patch) | |
tree | 0450f6142c0a77e1b7dd7540b7eef34bd3af52c6 | |
parent | 8404a1f34c9a2e6aaaec2f6c0c2789bea37ec0b6 (diff) |
Replace shotman with grim + slurp invocations
-rwxr-xr-x | install.sh | 2 | ||||
-rwxr-xr-x | riverrc | 2 | ||||
-rw-r--r-- | zshrc | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -82,7 +82,7 @@ if command_exists pacman; then paru -Sy --noconfirm --needed \ river-bsp-layout \ - shotman \ + grim \ slurp \ wired \ wlopm-git @@ -20,7 +20,7 @@ riverctl map normal Super+Alt O spawn "pkill -u ${USER}" riverctl map normal Super+Alt+Shift O spawn "pkill -9 -u ${USER}" # screenshot -riverctl map normal Super Print spawn "shotman --capture region" +riverctl map normal Super Print spawn 'grim -g "$(slurp)" - | tee "/tmp/screenshot_$(date +%Y-%m-%d_%H_%M_%S).png" | wl-copy' # firefox riverctl map normal Super+Shift F spawn firefox @@ -11,6 +11,7 @@ pgrep -x ssh-agent > /dev/null || start_ssh_agent # Start WM? if [[ "${TTY}" == "/dev/tty1" ]]; then export XDG_CURRENT_DESKTOP=river + export GRIM_DEFAULT_DIR="${HOME}/pictures/screenshots" dbus-run-session river exit 0 |