diff options
Diffstat (limited to '.local/bin/scst')
| -rwxr-xr-x | .local/bin/scst | 11 | 
1 files changed, 6 insertions, 5 deletions
| diff --git a/.local/bin/scst b/.local/bin/scst index f24fdb4..43ba261 100755 --- a/.local/bin/scst +++ b/.local/bin/scst @@ -2,10 +2,11 @@  set -e -notify() +xnotify()  { -	notify-send -a ${0##*/} -i "$filename" 'Screenshot Copied' \ -		'Screenshot successfully copied to the clipboard.' +	notify ${0##*/} screenshot 'Screenshot Copied' \ +		'Screenshot successfully copied to the clipboard' \ +		-i "$filename"  }  if [ $# -eq 1 -a "$1" = "-f" ] @@ -38,12 +39,12 @@ opt="`printf 'Copy screenshot\nEdit- and copy screenshot\n' | osel`"  case "$opt" in  'Copy screenshot')  	wl-copy <"$filename" -	notify +	xnotify  	;;  'Edit- and copy screenshot')  	swappy -f "$filename" -o - \  		| pee wl-copy cat \  		| sponge "$filename" -	notify +	xnotify  	;;  esac |