better naming & small fixes
Signed-off-by: Ferit Yiğit BALABAN <fyb@fybx.dev>
This commit is contained in:
parent
1dddc37e34
commit
7cb6dc5ff1
8
ss_full.sh
Executable file
8
ss_full.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
#
|
||||
# 1. take the screenshot of all displays with cursor visible (-c)
|
||||
# and print to stdout (-)
|
||||
# 2. the data printed to stdout is piped to wl-copy and it's copied
|
||||
# 3. the data is pasted to a file in folder $SS
|
||||
SS="/media/fyb/share/shoka/swap/screenshots"
|
||||
grim -c - | wl-copy --type image/png && wl-paste > "$SS"/$( date +'%Y-%m-%d-%H%M%S.png' )
|
8
ss_rect.sh
Executable file
8
ss_rect.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
#
|
||||
# Ferit Yiğit BALABAN, <fybalaban@fybx.dev>
|
||||
#
|
||||
# Select an area with slurp, ss with grim
|
||||
# and copy to clipboard.
|
||||
SS="/media/fyb/share/shoka/swap/screenshots"
|
||||
grim -c -g "$( slurp )" - | wl-copy --type image/png && wl-paste > "$SS"/$( date +'%Y-%m-%d-%H%M%S.png' )
|
8
wl_ss.sh
8
wl_ss.sh
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Ferit Yiğit BALABAN, <fybalaban@fybx.dev>
|
||||
#
|
||||
# Select an area with slurp, ss with grim
|
||||
# and copy to clipboard.
|
||||
export GRIM_DEFAULT_DIR="$HOME/shoka/swap/screenshots"
|
||||
grim -g "$( slurp )" - | wl-copy --type image/png
|
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Ferit Yiğit BALABAN, <fybalaban@fybx.dev>
|
||||
#
|
||||
# Select an area with slurp, ss with grim
|
||||
# and copy to clipboard.
|
||||
SS="$HOME/shoka/swap/screenshots"
|
||||
grim -g "$( slurp )" - | wl-copy --type image/png && wl-paste > "$SS"/$( date +'%Y-%m-%d-%H%M%S.png' )
|
Loading…
x
Reference in New Issue
Block a user