From 600f6e3a0889bd85fb59717f8e3a8521a0662080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferit=20Yi=C4=9Fit=20BALABAN?= Date: Thu, 25 May 2023 07:37:26 +0300 Subject: [PATCH] hyprland workspace: select rectangular, ss and save --- wl_sss.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 wl_sss.sh diff --git a/wl_sss.sh b/wl_sss.sh new file mode 100755 index 0000000..89c46c7 --- /dev/null +++ b/wl_sss.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# +# Ferit Yiğit BALABAN, +# +# Select an area with slurp, ss with grim +# and copy to clipboard. +SS="$HOME/items/ss" +grim -g "$( slurp )" - | wl-copy --type image/png && wl-paste > "$SS"/$( date +'%Y-%m-%d-%H%M%S.png' )